edit has Sketchup.active _model.start_operation/commit_operation functionality and so of course, does my super class in it’s create method. Like I wrote to Dan, I think I have an unintentional nesting problem due to the fact that the Parametric class (the Subclass in my pseudo code) uses a method called edit, which it employs even when creating my derived class. With undo I have meant the Sketchup.active _model.start_operation/commit_operation functionality, which should step you back in a single step to where you were before the plugin/extension started. I’m sorry but I seem to be confusing the english word undo with the Sketchup Ruby stack undo method. Given the ‘nesting’ you’ve described, it should work such that only the top level object starts and commits the operation.
![sketchup number of undo sketchup number of undo](https://aws1.discourse-cdn.com/sketchup/optimized/3X/d/8/d883b7d440bbd61d44377c29b6573e42293d2dc2_2_690x388.png)
I might suggest setting up your app such that the first object that issues a start_operation sets a flag that the other objects can read. Also, it’s not clear that by ‘undo’ you mean ‘Model.abort_operation’ or ‘Sketchup.undo’. Hence, ‘Both methods have undo functionality’ may not be attainable. I assume that you’re aware that the edit Undo stack can only delete the last operation. Since then, I’ve only used two parameters with start_operation. When the 3rd and 4th arguments were added to the start_operation method, I tested them and found they didn’t help with my problem. What if I call thod1 outside of thod2? Then I have a lot of undos caused by thod1. Must I get rid of all called methods undo functionality (thod1) if the calling method has already got undo functionality(thod2). They can be altered to create a new 3d design.Method2 calls method1 and method1 gets called on its own. However, if you want to extrude a circular object in Google Sketch up pro, first enable the “hidden geometry” option from the “view” menu.Īs the dividing lines appear on the circular surface, they allow you to treat the different segments as separate planes which can then be extruded. The Surface of the structure now becomes smooth and so you will not be able to extrude it. The “smooth normals” option softens the outlines as well.
![sketchup number of undo sketchup number of undo](https://img1.cgtrader.com/items/2177121/a359f170aa/large/sketchup-commercial-and-office-complex-a2-3d-model-skp.jpg)
You can even select the “smooth normals” and “soften coplanar” options. In the popup menu, the bar states the angle after which whichever every line that is selected whose angle is below it gets smoothed out. From the menu, go to the “soften/smooth edges” option. To do this, select and right click on it. The surfaces of this structure can be made circular and smoother.
![sketchup number of undo sketchup number of undo](https://sketchup.engineeringtoolbox.com/docs/components/121/circle_segments.png)
Step # 6 – Go to the “soften/smooth edges” option
![sketchup number of undo sketchup number of undo](https://www.4keyboard.com/10834-medium_default/trimble-sketchup-keyboard-sticker.jpg)
You can therefore use the “Push/Pull” tool to alter these planes and move them as you like. The number of sides are visible here and so creating different surfaces. Then click once, and specify the radius as 2 feet so enter “2” with an ” ‘ ” in the measurement bar signifying 2 feet.Įxtrude this shape by means of the “Push/Pull” tool, as you do this the lines dividing its sides will become visible.Ĭreate another polygon on top of this one to make a small table.
#Sketchup number of undo how to#
However, through the Google Sketch up pro smooth option you can learn how to soften round edges in Google SketchUp.ĭraw a polygon before you click once make the number of sides “10” in the measurement bar. However, a circle has smooth corners while the sides of a polygon are evident. A polygon and a circle, both used in 3d design in Google SketchUp, are made up of a number of sides that combine to form each shape.