@xrok1 said:
this is getting better and better
now all we need is a visual representation (ideally interactive ) for the weight.
Well, I think, it's possible
, why not.
@xrok1 said:
this is getting better and better
now all we need is a visual representation (ideally interactive ) for the weight.
Well, I think, it's possible
, why not.
@escapeartist said:
I noticed that after deleting a surface that I'd applied control points to I got this going on in my Ruby window ad infinitum, it's going so fast I had a hard time even copying it.
I got this to happen by creating a surface, applying control points, using them to deform the surface (with a couple of "undos") and then deleting the surface. Only way to get it to stop was to restart SU.
Thanks for the report. I'll try to fix it as soon as possible.
@mitcorb said:
Wouldn't the plain old cpoints that may have been inserted in the model prior to running this plugin have to change their status to Control cpoints? Could your plugin look for pre-existing cpoints(construction points) and change them?
Just in case you understand- I do not have any Ruby expertise -yet.
I guess, I got it now
@earthmover said:
I don't know jack about coding, but your work deserves a shot and a beer!
@mitcorb said:
Sooo-- maybe my question was a bit naive.
But it gave a good idea!
I think that it can be a kind of alternative to 'entity scanner' (it was discussed here: http://forums.sketchucation.com/viewtopic.php?f=323&t=22709&st=0&sk=t&sd=a#p191629 ). So it would be possible to link control c-points back manually to groups and/or curves after closing and opening the file. And it would be also possible to link any existing c-points to any group.
What do you think?
@paulbarton said:
I have an issue whereby the initial move does not seem to register. If i then do another move, and undo it (!) the mesh jumps to the previous position. And just to make matters worse, this only happens intermittently!
Speaking of undo: the work on improving 'undo' behavior is in progress (I want to make it more 'natural', not sure if I can but I'll try). In the current version it is necessary to make undo several times to get everything to the initial state.
Note: it is not necessary to wait until geometry transformation finishes, you may undo previous c-point movement while the group refreshes.
For example, you moved c-point, then immidiately decided to get everything back: press 'ctrl+z' combination 3-times immediately to get the c-point back and to cancel group transformation.
I'll try to find out why the initial move does not seem to register.
@mitcorb said:
Can this script recognize and utilize construction/control points placed by another ruby script?
This is an interesting idea. You mean you want to select a set of existing c-points + geometry group then make c-points not just c-points, but control c-points. I think it's possible, but it is not implemented yet in the current version.
@tig said:
DIY fix: open the script in a plain text editor, find the 6 occurrences of 'model.entities' in the script and edit it to 'model.active_entities' - it will then work inside group edits etc...
Cool
@ken28875 said:
Hmm..ok, so I tried it and here's what I got.
Any ideas why? Thanks.
Hi, Ken.
This is an issue I'll try to fix it. The problem is that "Process closest distances" method works good only for faces bounded by convex polygons. You may try "Process nearest indices" shape morphing option, but it sometimes causes inside-outs.
"Process nearest indices" method does not depend on face bound topology.
BTW, if someone try to process faces with more complex topology (I mean, faces with internal holes), then plugin will also fail to make an appropriate morphing, regardless of chosen shape morphing option.
For example we have 2 faces: 1-st has circular outer loop and 3 square internal holes, 2-nd has square outer loop and 2 circular internal holes. Well... I must say, the decision what kind of morphing would be more appropriate becomes pretty unobvious . But I think that such task (the above mentioned example) is very exotic one and has no practical utilization.
Deformation of geometry groups in the current version (1.2) has plastic nature. It means when the control point places back to its previous position, previous deformation does not disappear completely (some rest deformation remains).
[flash=425,344:166or01q]http://www.youtube.com/v/mXYjIT-YVRQ&hl=ru_RU&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:166or01q]
I'll try to make deformation nature optional (plastic or elastic) in future versions.
@fletch said:
I'm concerned that the word "Smooth" is already "taken" in SketchUp... and usually applies to a specific type of edge, so if we could come up with a better name for this tool, it may avoid confusion.
may I suggest "Curve Toy" or "Curve Control" or "Squishy Curve" or "Marilyn Monroe" I don't know... something unique.
I agree. I like "Marilyn Monroe"
Well maybe "Geom Interpolation" (long, but close to what it really is).
@chango70 said:
What do you do with the explanation lines? can you manipulate the geometry with those lines?
Unfortunately explanation lines are only to show, how intermediate vertices were modelled (lines are practically useless and there is no way to interact with them only to admire).
Actually it is necessary to implement 2 additional 'control lines' at the start and at the end of the initial opened curve to affect 1-st and last segment curvature (the same way as cubic spline). Closed curve does not need it.
And another issue: current version does not 'remember' control points across sessions also (the same as 'ctrlpnts.rb'). I'm on my way to implement such functionality.
This plugin became obsolete but you can find all its functionality in 'Recursively Smoothed Curve' tool of 'LSS Toolbar 2.0' extension. It is still only a beta version, but this particular tool works stable enough. Find out more at http://sketchucation.com/forums/viewtopic.php?f=323&t=47399
@wind-borne said:
i am having a strange problem, plugin only shows up on initial opening drawing. If I open a new one without closing Sketchup completely, no plugin.
As I can see on attached picture the whole face is selected, but current version of the script (ver. 1.1.) actually processes only curves. So try select only boundary curve without face itself (you may deselect face by pressing shift and single-clicking on face). Make sure that only boundary is selected. Of course script processing does not depend on opened file (old or new). It depends on what entity is the first one selected: if it occures that curve edge is the 1-st item of selected entities collection, then everything works, if the 1-st item is face, then the command does not appear within context menu.
So I'll try to make the script more tolerant to the selection in future versions .
Speaking of copy-paste behaviour, I'll try to find out why it processes so strange (don't know why yet).
@d12dozr said:
Is there a way to set each node's position on the curve manually, instead of just being evenly spaced?
That's a cool idea I'll try to implement it. Current version does not allow manual node positionig.
@thomthom said:
Just saw the video - very nice!
Does it remember the control vertices across sessions?
Unfortunately no
I knew it would be one of the first questions , but it's not implemented yet. Actually I don't know yet how to make it... Maybe to launch a kind of entity scanner each time when new file loads. It will scan entities to link c-points to curve vertices again. But it will slow opening of huge models...
This plugin became obsolete but you can find all its functionality in 'Control Points' tool of 'LSS Toolbar 2.0' extension. It is still only a beta version, but this particular tool works stable enough. Find out more at http://sketchucation.com/forums/viewtopic.php?f=323&t=47399
@haru said:
In order to make the blended face right to designerβs intention, each start-point of two figures(β ,β’) shall be set-up as well as the direction of drawing, that is clockwise(β‘,β£) or counterclockwise.(β‘,β£-a)
For all, itβs just an idea
Thank's for great idea. I'll try to implement it as soon as possible.
@nankyo said:
Though, I wonder if u think it possible to make a 'reverse engineering' version of that one..
I think it is posible. I'll try to make it too.
@nankyo said:
I mean,many times I need to take a "solid" shape and make it with 2D shapes..
You may try also 'pnts2mesh.rb'. It can slice a group that contains a set of faces with a number of horizontal planes placed with specified offset (horizontal means relatively to selected group transformation).
[flash=425,344:uuqblkor]http://www.youtube.com/v/qetoQvcEoic&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:uuqblkor]
Guys, plugin is free and open sorce. The time when you'll become surfeited with it is actually the only time limit
It would be absurd to add time limit to open sorce script. Obviously so I'll try to find out what's the problem, I mean why it refused to work at the 8 of september.
This plugin became obsolete but you can find all its functionality in '2 Faces + Path' tool of 'LSS Toolbar 2.0' extension. It is still only a beta version though. Find out more at http://sketchucation.com/forums/viewtopic.php?f=323&t=47399
It is also possible to use "Draw horizontal contours..." command to draw contours of almost everything including SU components. It is only necessary to explode component, then make a group from exploded faces, then choose "Plugins>>Draw horizontal contours...".
[flash=425,344:2gt5jdh3]http://www.youtube.com/v/cRj2waPU6yk&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:2gt5jdh3]
Now the work on path processing feature is in progress. For now it works stable only when the path curve is at XY plane. So I'm going to publish new plugin 'pathface.rb', when it will be possible to follow the path curve regardless of it's orientation (it will take about several days, I think).
[flash=425,344:1244ddom]http://www.youtube.com/v/z-IO3YLPTeY&hl=ru&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"[/flash:1244ddom]