Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Anonymous
7553 Vistas, 8 Respuestas

Auto Trim objects outside of a 2d boundary

I have created a pattern that I would like to overlay on a boundary. Once I have overlaid the pattern, I would like to delete any of the pattern that is not within the boundary. There are tons of lines that need to be deleted. Some lines intersect with the boundary, other lines sit solely outside the boundary. I need to delete and trim accordingly so that only the pattern that lies inside the boundary reains. As a side note, any line of the pattern that intersects with the boundary will need to be trimmed so that the only remaining portion of this intersecting line lies within that boundary. This will take hours unless there is an automated function to use. I have attached a picture of a sample desired output. Does anyone have any suggestions?

3wood
en respuesta a: Anonymous

Here provide 2 methods to do it automatically.

 

Method 1

1. Trim around the boundary  with command EXTRIM (Express Tools)

2. Select all entities inside the boundary with SMARTSEL, then press Esc to cancel the selection.

3. Command ERASE -> ALL -> Remove -> Previouse -> Enter.

 

Method 2

1. Make a block from all entities except the boundary.

2. Clip the block with the boundary polyline. You can use CLIPIT command.

2. Explode the block with EXPLODEALL, settings as below:

explodeall1.PNG

vishnuprakashr
en respuesta a: 3wood

Why doesnt "EXPLODEALL" command doesnt work in my 2016 version of auto cad inspite of having a 3 year licence?

Hi;

 

>> Why doesnt "EXPLODEALL" command doesnt work in my 2016 version of auto cad

You do know that this is not an AutoCAD command, it's a tool that has to be loaded.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)

could u tell me how to  load this tool?

Hi,

 

>> could u tell me how to  load this tool?

Follow the link 3wood provided in method 2.

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2025
------------------------------------------------------------------------------------

(not an Autodesk consultant)
JDMather
en respuesta a: vishnuprakashr

Can you attach your file here?

I am surprised that extrim in Method 1 didn't work.

 

If Extrim doesn't work - then for the add-in in Method 2, click on the hyperlink.

 

Hyperlink.png

 


-----------------------------------------------------------------------------------------
Autodesk Inventor 2019 Certified Professional
Autodesk AutoCAD 2013 Certified Professional
Certified SolidWorks Professional


Kent1Cooper
en respuesta a: Anonymous

What bounds the pattern to the right and above and below?  That pattern certainly looks as though it could be defined pretty easily into a Hatch pattern, in which case you could just apply it within a boundary, and wouldn't have to lay it in over more area than you need and then cut it back.  Even without defining all of it into one pattern, you could use a parallel-lines pattern three times with a little care about the scaling, rotation and origin, and get the same effect.

Kent Cooper, AIA
Kent1Cooper
en respuesta a: Kent1Cooper


@Kent1Cooper wrote:

...  That pattern certainly looks as though it could be defined pretty easily into a Hatch pattern....


Such as this:

*LATTICE5, Lattice of parallel lines in 5 directions
30, 0,0, 0,1
60, 0,0, 0,.8660254
90, 0,0, 0,1
120, 1,0, 0,.8660254
150, 1,0, 0,1

 

EDIT:  And here's a more fully symmetrical-ized and also kind of interesting pattern [horizontals in the added first line]:

 

*LATTICE6, Lattice of parallel lines in 6 directions
0, 0,0, 0,.8660254
30, 0,0, 0,1
60, 0,0, 0,.8660254
90, 0,0, 0,1
120, 1,0, 0,.8660254
150, 1,0, 0,1

Kent Cooper, AIA