PGia Posted 17 hours ago Posted 17 hours ago Hi I’ve run into this problem several times, but I was never able to understand why — until today. Sometimes I need to use the "boundary" command to obtain the perimeter of complex enclosed areas, but occasionally the area of the region returned by the command does not match the expected value. Today, I finally discovered why. In the image, I show an example of this. The thick yellow line is part of the original geometry, while the thinner dark-colored line is the one returned by "boundary". I repeated the command several times, but it always makes the same mistake. Does anyone understand why this happens? Is it possible to solve it somehow? Thanks in advance. Quote
BIGAL Posted 16 hours ago Posted 16 hours ago No idea what the thick yellow line is ? If its a pline with a width then boundary is correct, it does not recognise pline thickness. I am sure there is ways to make a outline of the plines can then run boundary. If it's a hatch then can get outlines of hatch's then should be able to do a boundary. Quote
hmspe Posted 14 hours ago Posted 14 hours ago https://lee-mac.com/polyoutline.html or https://lee-mac.com/advpolyoutline.html will outline a pline. https://jtbworld.com/autocad-hatchb-lsp willoutline a hatch. I can't tell what might be required to automate the process without a DWG of a full pline set or hatch set example. Quote
PGia Posted 9 hours ago Author Posted 9 hours ago I think I didn’t explain myself properly. The idea is to run "boundary" and click inside the largest closed area shown in the image. After checking the result — by zooming into the area indicated by the arrow — you’ll understand what the image in my previous message is referring to. I’ll attach a drawing. Boundary.dwg Quote
hmspe Posted 8 minutes ago Posted 8 minutes ago So the problem is that the darker lines should intersect in the top square glyph instead of the next to the top square glyph? Which CAD are you using? When I run BOUNDARY or HATCH here in Bricscad V26 the boundary is always to the upper square glyph, not to the next to the top square glyph as shown in your drawing. What are the parameters you are using for the BOUNDARY command? Do you get the same error if you explode the plines before you run BOUNDARY? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.