๐ข PlaceMaker | 25% off for February including new Google Earth data imports!
Learn more
[REQ] Inflate Components...
-
I have these components on the left
How make a "Strip" around each for have the red ones? (here in 2D but will fine also in 3D)
(When i say a strip : just rectangle becomes larger inflate by 0.05 m)
A sort of Scale ?...Seems "Scale Rotate Multiple" by Chris Fullmer can make the trick but curioussly not!
So have you a little trick or a little plugin for that?
-
Try this
@mod = Sketchup.active_model @sel = @mod.selection cmps = @sel.grep(Sketchup;;ComponentInstance) cmps.each{|ci| ctr = Geom;;Point3d.linear_combination(0.5,ci.bounds.corner(0),0.5,ci.bounds.corner(3)) xscl = (ci.bounds.width+0.1.m)/ci.bounds.width yscl = (ci.bounds.height+0.1.m)/ci.bounds.height tr = Geom;;Transformation.scaling(ctr,xscl,yscl,1.0) ci.transform! tr }
-
Excellent!
Can you put this in a little plugin with one input variable measure?
And something for any forms? Separated Components on the left: Gap = 0.2m
Here big size of scale for avoid overcrossed arc-lines!
My workflow for create separate Components from a general drawing (above previous post from Protrude by Jim)
- Multiple Offset by Remus
- Select Only Simple Face by TIG ?
- Copy move
- Loose to Group by Chris Fulmer
- Groups to Components by ThomThom
- new code Inflate By Sdmitch (works fine for quads forms) Not yet for these forms above!
But maybe some one has a more tricky tip?
Advertisement