I discussed the benefits of the cplane earlier and here you can examine its use in more detail. You can see a further benefit is that it also creates the wall but lets you enter and track the wall dimensions easier. This is a good technique if you need to change the sizes of your model or component often.
1. Copy the script in the left hand column below.
|
! Cplanetop ! CplaneOrigin w-13.319,-4.96942,0 ! polyline 0,0,0 0,4.14596,0 0,4.14596,2.66477 0,5.79288,2.66477 0,5.79288,0 0,9.93884,0 0,9.93884,4.26246 0,0,4.26246 0,0,0 ! enter ! CplaneRight ! CplaneOrigin w-13.319,-4.96942,0 ! Rectangle 0,0,0 0.98743,1.5977 Lastcreated move 0,0,0 1.1904,1.06707,0 ! Rectangle 0,0,0 0.98743,1.5977 Lastcreated move 0,0,0 7.76101,1.06707,0 ! Circle 0,0,0 radius 0.61212 enter Lastcreated move 0,0,0 4.96901,3.46361,0 ! selnone ! Cplanetop ! CplaneOrigin w-13.319,-4.96942,0 ! Selcurve ! Extrude Cap=Yes -0.4 delete ! enter ! CPlaneTop |
Sets the cplane to the top ortho view w 0,0,0. Sets the origin of the cplane. This is the world coordinate of cplane 0,0,0. Draws a polyline that represents the wall outline. Beginning coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Further coordinate points for the polyline or wall. Last coordinate points for the polyline or wall. Finishes drawing the polyline. Sets the cplane to Right world ortho view. Sets the cplane origin of that view. World Coordinate point for the cplane orign. Draws a rectangle or the outline of the windows. Beginning coordinates for the rectangle. Ending coordinates for the rectangle. This selects the last created item. This moves the rectangle into place Moves the rectangle from this coordinate point Points to finish the move Draws a rectangle or the outline of the other window. Beginning coordinates for the rectangle. Ending coordinates for the rectangle. This selects the last created item. This moves the rectangle into place Moves the rectangle from this coordinate point Points to finish the move Draws a circle outline for the circular window. Beginning coordinates for the. Tells rhino to draw the circle using it's Radius. Ending coordinates for the circle. Ends the circle command. This selects the last created item. This moves the circle into place. Moves the circle from this coordinate point. Points to finish the move. Deselects all items. Sets the cplane back to world othro top. Sets the origin To these coordinates Selects all the curves to perform an extrude command Extrudes the curves Cap = yes option tells rhino to create a closed polysurface so the This is the thickness of the wall This deletes the curves used to create the wall Completes the command Re-sets cplane to world ortho top |
2. Make sure perspective viewport is active.
3. Run the script by clicking the commandpaste icon. The
script created a wall with window and door cutouts.
4. Quick Render the model
5. Select all and delete