Show messages:
1-9
10-29
30-32
From: bemfarmer
Hi Michael,
Attached is simple open elliptical cone, and open cylinder.
BlendcapTest of edge of open elliptical cone, with closed edge, yields reading of 3 edges.
BlendcapTest of open cylinder with closed edge, yields reading of 4 edges.
There is no .htm file for this particular testing.
- Brian
Maybe I'll go at it using the nametags assigned...
Attachments:
OpenEllipticalConeAndCylinder.3dm
From: Michael Gibson
Hi Brian, thanks for posting the file.
So when doing this:
code:
var trim_res = trim_factory.getCreatedObjects().item(0);
The 'trim_res' object is the full brep which for the cone will now have 3 edges - the original "seam edge" plus 2 edges from the closed edge that was trimmed. The cylinder started with 3 edges (2 closed edges at the ends and one seam edges), and when you trim one of those in half there will now be 4 edges.
Probably the thing that's got you tripped up is you were expecting to receive edges as the output, but when you trim an edge the output is a brep.
So yeah probably tagging the edge with a name before trimming it would be good so you could find the new edges when looking through all the brep's edges. The name should inherit into the trimmed pieces.
- Michael
From: bemfarmer
Thank you Michael, your response is logical, and makes sense :-)
(I just did a blend with a cylinder and a pentagon, and got 18 (brep) edges, with BlendCapTest, on the open circular edge)
- Brian
Show messages:
1-9
10-29
30-32