I had a similar problem procedurally generating walls - found the LinearExtrusion class. Perfect for building walls. Might take a bit of experimenting but it's definitely the right place to start.
On May 13, 8:53 am, mobstar07 <[email protected]> wrote: > For an upcoming project I need to create walls where a user can add > different sized openings for windows and doors. Everything must be > dynamic, so no fixed dimensions, positions and amounts of openings. > I was thinking of the following ways to achieve this: > > - create all faces manually, add 'm to a mesh and extrude it to give > the wall some thickness (hell of a job I guess) > - create a solid wall and punch out the intersecting windows and doors > (like the subtract/union functions in several 3D apps) > - create all the outlines with polylines and extrude them to a certain > wall thickness > > Probably bad ideas. Can this be done in Away3D? If so, whats the best > way to achieve this? > > The crappy view underneath illustrates the issue a bit. The 'x' is the > position for an opening. > +-----+-----+-----+-----+-----+-----+ > | | | | | | | > +-----+-----+-----+-----+-----+-----+ > | | x | | x | x | | > +-----+-----+-----+-----+-----+-----+ > | | | | | | | > +-----+-----+-----+-----+-----+-----+ > | | x | | | | | > +-----+-----+-----+-----+-----+-----+ > > Greetings!
