Search the Community
Showing results for tags 'working plane tool'.
-
Hi, A lot of times when working in 3D I want to use the Working Plane but my view got blocked by objects in front of the plane. The Clip Cube can help with that. But it takes a lot of time to setup. That's why I decided to make a script that sets the Clip Cube based on the active Working Plane. Since there are no functions available to set the position of the Clip Cube I used a trick to make a huge extrusion on the workplane and use that to set the boundaries of the Clip Cube. This works for most user-cases but unfortunately not for rotated Working Planes. @Marissa Farrellcan you throw in an enhancement request for more control of the Clip Cube with Vectorscript? Step 1: Set Working Plane Step 2: Look at Working Plane, view gets blocked Step 3: Run Script, view gets unblocked PROCEDURE ClipCubeByPlane; {Sets the Clip Cube position equal to the Working Plane.} {Since we cannot rotate the Clip Cube by script this work best with Working Planes on X and Y.} {© 24-06-2022 Arnhem - The Netherlands, Marcel Plomp} {Licensed under the GNU Lesser General Public License} VAR H1 :Handle; xRot, yRot, zRot :REAL; p0X, p0Y, p0Z :REAL; BEGIN {Turn off Clip Cube} SetPref(6707, FALSE); DSelectAll; {Create big extrusion} BeginXtrd(0,-1000000); rect(-1000000, 1000000, 1000000,-1000000); EndXtrd; {Get workplane coordinates} GetWorkingPlane(p0X, p0Y, p0Z, xRot, yRot, zRot); {Move object to workplane} H1:=LNewObj; SET3DRot(H1, xRot, yRot, 0 , 0,0,0); Move3DObj(H1, p0X, p0Y, p0Z); {Enable Clip Cube and delete object} SetPref(6707, TRUE); DelObject(H1); END; RUN(ClipCubeByPlane);
- 1 reply
-
- 2
-
-
- clip cube
- working plane
-
(and 2 more)
Tagged with:
-
Hi all, Every time I change the Working Plane using the Working Plane tool, it seems that I get stuck with the new working plane and can't change it back. I'm using Planar Surface mode to select a new working plane. From the manual: Double-click the Set Working Plane tool to set the working plane to the layer plane. Nope. Doesn't have any effect. In fact, trying to select another planar surface to establish a new Working Plane has no effect. It's like the tool is a one-shot deal that needs a restart to fix. I'm using Screen Plane or Working Plane mode in Plane Mode under Document Preferences. Double-clicking the "Active Layer Plane" from the Working Planes palette does not have any effect either. The only way i have found to restore the working plane to the active layer plane is to restart. Is there some option to lock the working plane tool after one use? Perhaps that got selected somehow with an errant keyboard shortcut? Weird...