My problem is that I want to slice the solid with a planar surface. Message 4 of So, you can either use the Surface. GetPlane method. CreateFromRegion region ; model. AppendEntity surface ; tr. Slice surface. Slice surface, true ; model. AppendEntity solid2 ; tr. Message 5 of I need it to slice at jut one place.
Message 6 of Slice surface, true. Message 7 of Message 8 of Message 9 of DLL is compiled for. Net framework 4.
Referencefiles are ObjectARX versions. This is my vb. GetObject db. CurrentSpaceId, OpenMode. GetEntity peo If per. GetObject OpenMode. ForWrite , Autodesk.
CreateSweptSolid circ, plPath, sob. ToSweepOptions btr. AppendEntity sol trx. Surface If plPath. GetPointAtParameter i. GetVectorTo plPath. Add New Circle plPath. CreateFromRegion circleregion 0 srf. Surface btr.
AppendEntity srf trx. Slice srf, True. Slice srf. GetPlane, True 'Slicing with plane works, but no solution to my problem 'sol. GetPlane, True. Dispose btr. AppendEntity newSolid trx. Add newSolid Catch ed. AddRange tempList Next trx. See below for a screenshot of a polyline I'm using. Message 10 of Here're two examples of testing commands. Both prompt the user to select a solid and a surface. TEST1 slices the solid with the selected surface and dispose of the 'negative half' solid.
GetEntity options ; if result. ObjectId; options. RemoveAllowedClass typeof Solid3d ; options. AddAllowedClass typeof AcDb. GetObject solidId, OpenMode. Surface tr. GetObject surfaceId, OpenMode. ForRead ; solid. Dispose ; tr. Slice surface, true ; curSpace. Message 11 of The test2 command does what I want. Even with the surfaces I created with my own routine.
So I will try to find out if I can incorporate your solution into mine. Post Reply. Can't find what you're looking for? Ask the community or share your knowledge.
Maybe I should have said something like, "the faceted ruled surface doesn't look aesthetically pleasing" Hmmm, what would that be in text message speak Personally I like the above phrase better. It raises the level of the discourse around here. Just having some fun with you JDM. See what I mean about the level of discourse around here? Perfect example above. 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. Restore formatting. Only 75 emoji are allowed.
Display as a link instead. Clear editor. Upload or insert images from URL. Converting a "region" of planar surfaces to 3D solid. Share More sharing options Followers 1. Reply to this topic Start new topic. Recommended Posts.
Alex Posted April 19, Posted April 19, I've got the following shapes going: The pink one on the left is a combination of planar surfaces. I've Google'd the hell out of this one - now I'm stuck. I need to make a 3D solid in the exact shape of the combined surfaces. Help please, and thanks ahead of time. Link to comment Share on other sites More sharing options ReMark Posted April 19, MikeScott Posted April 19, You might be able to use an extruded pline?
JD Mather Posted April 19, I need to make a 3D solid in the exact shape of the combined surface Agree with JDM regarding the use of Loft to construct solid. The result of the LOFT command is shown on the right.
0コメント