[plugin] Rotated Box [updated 30-Mar-2014]
-
@jorge2011 said:
the.pjt or sdmitch.
This change does not work in my pc. I use sketchup 8 and windows xp sp3.
You can correct this error? really very useful toolCan you explain what "doesn't work" please? Do you get error messages or just unexpected results?
-
does not work, create the geometry inside a group. Or create a group inside another group
-
@jorge2011 said:
the.pjt or sdmitch.
This change does not work in my pc. I use sketchup 8 and windows xp sp3.
You can correct this error? really very useful toolmaybe becouse of I'm not a programmer ,I am just a newbie ... It works well on my ms win 8 ,SU 8 M3 .... I don't have any apple device .. ... so maybe it doesn't work on mac , I don't know
and ... It could be better if the author have modified it , not me ... I think he dislikes me ..dear ThomThom .. Or MR sdmitch .... is it posible to check my editings ? ? I will welcome ...
thanks a lot ...all of thing that I have done is : just changing line 32 (notepad++)
old :class RotatedBox def initialize @mod = Sketchup.active_model @ent = @mod.entities
new
class RotatedBox def initialize @mod = Sketchup.active_model @ent = @mod.active_entities
and then it creates every thing in active group ... am I wrong ?
-
Can you respond to the PM I sent regards this in-post plugin uploading?
-
@jorge2011 said:
does not work, create the geometry inside a group. Or create a group inside another group
The change the.pjt made will only add the current box to a group if you have the group open for edit it does not open the group automatically. It should have no effect on whether or not the current box is created as a group or not. That will still depend on grouping being On or Off.
-
sdmitch, sorry, I do not understand your explanation. my English is not good.
You can create a group inside another group, or a grometria within a group or component?
You can add this feature?thank you very much for your kindness and your time
-
If I might interject.
All native and most 3rd-party tools add new geometry etc into the "current context" [model.active_entities
] - even if the added 'object' itself is a group of new geometry.
To always force new stuff intomodel.entities
as its context will be very confusing, unless the two entities' contexts are not the sample.
So if you are editing a component or a group and you use this tool to add a 'box' then the newly made object will currently then be added outside of the current context... which is not what you'd expect at all - e.g. if you draw a 'line' it's added inside the context, not outside in the model.entities
It IS a very simple adjustment to the code to make these tools intuitive in the way it adds its geometry like the native tools...
-
For all of you who have been anxiously awaiting the change of mod.entities to mod.active_entities, your wait is over and Version 1.2.1 is for you.
-
I'm all over it. Thank you, Sam.
-
Updated to be SU2014 compatible.
-
I have added it to the PluginStore.
http://sketchucation.com/pluginstore?pln=Rotated_Box -
See the video.
Video_2014-03-29_033416.wmv -
Very interesting. I'll try to solve the mystery.
-
Just something I noted from the video - implement the Tool#getExtents method to fix the clipping of your temporary geometry.
-
@the.pjt
3Pts_Tools is a great tool set (yours and Sam's) and the toolbar.Comments:
-
Works fine in SU13, but the cylinder creation is somewhat counter-intuitive: In the Box Tool the base is created first, then the height. In the Cylinder Tool it is the opposite: the height is created first, then the radius. Not a deal-breaker, but it would be better (IMO) if they were both in the same order; base, then height.
-
In SU13 it works whether in the 'standard' plugin folder or in an 'additional' folder. In SU14 it does not load successfully in either location: I get load errors in either folder.
-
-
In the case of the cylinder, the definition of the height also defines the normal for the cylinder. If you were only doing cylinders oriented along one of the axes, then you could just as easily do it the other way.
I think I have found and fixed the bug in Rotated Box that caused the box to be displaced when dimensions were keyed in.
-
Can the default be NOT to add to a group? It is very frustrating!
-
@dedmin said:
Can the default be NOT to add to a group? It is very frustrating!
Yes of course. Using Notepad, change the line "@group_box = true" to "@group_box = false".
-
-
Love this - using it all day long to build furniture from ply and sheet goods!
One wish - to draw the height of the box from the center, not just up or down.
Thanks.
Advertisement