Created new brush models for use with an entity? (Not sure if it's possible)

I’d like to create a brush entity dynamically with lua, wondering if this is possible?

To be more specific, I want to create my own rectangular brush, like you would in HAMMER, all I want is the model, is this sort of thing possible?

(I Have tried Googling, but I can’t really describe it properly to Google (lol))

If people are still unclear, I can take a screenshot in hammer to make it more obvious what I mean…

Thanks :stuck_out_tongue:

Edit: I am aware you can generate them in hammer and export them to be a model, and have the client download them, but I just wanna send coords or something like that and have it generate one…