[Plugin][WIP][OpenSource] Bezier Surface
-
Thanks Oxer.
-
@box said:
If you type 2 enter, in other words try to set the subdivisions to 2, it will bug splatt.
I have reproduced this and created a fix. The fix will appear in TT_Lib2 however. I'm still looking into a couple of other issues - so I'm not pushing an update right now. Just be careful no to change the subdivs to less than 3 until Bezier Surface and TT_Lib2 is updated.
-
@box said:
I found a little problem with it.
If you scale to 0 as a way of straightening an edge it freezes and won't update the surface. If you get out of edit mode and go back in an move a point it will revert to the unscaled skin.This is turning out to be trickier to fix. What happens is that when you scale the edges it currently scales the handles. So when you scale to zero it scales the handles to zero and all kind of bad things happen.
I need to add the implicit handle scaling as an option (by default off is probably best). Also need to prevent handles from becoming completely zero length - or some way to restore them.
There is also an issue in the current way the scaling that once you have scaled to zero, nothing will scale back. That is even tricker to fix.I need to split this out into multiple fixes.
You can check the status in the Issue Tracker:
https://bitbucket.org/thomthom/bezier-surface/issues?status=new%26amp;status=open -
Thanks for looking into it Thomthom, it's such a good tool, with amazing potential.
I tried Bezier Triangle today from EH and it's nowhere near as good. -
-
@oxer said:
Other suggestion, it would be very interesting if you could adjust the control points to a external geometry of the bezier surface, like the inference in SU, so you can adjust quickly your bezier surface to a predefined shape.
Would be perfect.
And what if you'd pick a quadface (defined in quadface tools) and convert it on a bezier patch.
-
@thomthom said:
@box said:
If you type 2 enter, in other words try to set the subdivisions to 2, it will bug splatt.
I have reproduced this and created a fix. The fix will appear in TT_Lib2 however. I'm still looking into a couple of other issues - so I'm not pushing an update right now. Just be careful no to change the subdivs to less than 3 until Bezier Surface and TT_Lib2 is updated.
I've uploaded a new version of TT_Lib2 which should fix the crash. You can now safely set the segments down to 1 if you like.
-
I am getting this error message in SKP 2015
I wonder if "Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>" refers to the fact the default new plugins folder path is the "USER" and in my language it´s USUÁRIO with that accent over the A.
Error Loading File C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb
Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>
C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:109:inend_with?' C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:109:in
rescue in require'
C:/Program Files/SketchUp/SketchUp 2015/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:35:inrequire' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:117:in
block in module:BezierSurfaceTools'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:115:ineach' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:115:in
module:BezierSurfaceTools'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface/core.rb:33:in<top (required)>' C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:in
require'
C:/Program Files/SketchUp/SketchUp 2015/Tools/extensions.rb:197:inload' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:42:in
register_extension'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:42:in<module:BezierSurfaceTools>' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:15:in
module:Plugins'
C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:14:in<module:TT>' C:/Users/Usuário/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/tt_bezier_surface.rb:13:in
<top (required)>' -
@aceshigh said:
I wonder if "Error: #<Encoding::CompatibilityError: incompatible character encodings: ASCII-8BIT and UTF-8>" refers to the fact the default new plugins folder path is the "USER" and in my language it´s USUÁRIO with that accent over the A.
Yes ... but I thought I had fixed that. Exactly what version do you have installed?
-
Meh! I can reproduce this. Another Ruby encoding issue with filesystem functions. I think I have a fix for this. Look for an update.
-
Just realized I'd forgotten to push a couple of other fixes so I uploaded a new version now (0.1.3). Live on PluginStore - pending review on Extension Warehouse.
-
@thomthom said:
Just realized I'd forgotten to push a couple of other fixes so I uploaded a new version now (0.1.3). Live on PluginStore - pending review on Extension Warehouse.
Aren't you the one reviewing extensions on EW? That seems beurocratic...
BTW what a great tool you have here... full of possibilities!
Would rival the rotated rectangle tool/pushpull combo if my buildings weren't so... well... flat!
Thanks again Thomthom!
-
@jql said:
Aren't you the one reviewing extensions on EW? That seems beurocratic...
I'm not the sole person handling it. And it wouldn't be right for me to review my own extension.
-
GREAT TOOL!
So easy to use. this took me 30 minutes, it's not anatomically correct but I think you can get quite close .
I've had limited time using this, is there a bug when you try to use it over an image, I tried drawing the patches over a reference image but the tool wouldn't work. When I clicked inside the box there was just a mesh of quad. the Bezier surface tools didn't appear.
To make this image I just started afresh. I will endeavour to try again soon to see if this is a problem or not.
-
encountered a problem. All the patches have disappeared and it's now one mesh. Can't seem to get the patches back but I had great fun while it lasted.
Can't wait till I have more time to play with this
Cheers
Chris
-
Whoa, excellent SU modelling, Cmeed!
-
@cmeed said:
encountered a problem. All the patches have disappeared and it's now one mesh. Can't seem to get the patches back but I had great fun while it lasted.
Can't wait till I have more time to play with this
Cheers
ChrisI think that's the bug which I have a fix for already - will be released soon. I found that the bezier tool wouldn't always activate.
Though it appear to work again if I first draw a new temp patch.
Just to confirm, do you get any errors in the Ruby Console?
-
Sorry no i didn't look at the ruby console.
So in future - do I have the ruby window open while I work or open it when something's happened. Just do I know for next time.
Great work. (As always)
C -
I got it finally working.. It will do wonders for me...For once, I have a feeling Im working in Max environment. Clean mesh... Thank you so so much Thomthom. I look at you and I see possibilities for our beloved SU to conquer the 3d world..May your kind multiply..
BTW, Im still awaiting updates for the non destructive SubD..
-
@cmeed said:
Sorry no i didn't look at the ruby console.
So in future - do I have the ruby window open while I work or open it when something's happened. Just do I know for next time.
Great work. (As always)
CBefore - otherwise it won't be recorded. So if you experience problems, undo, open Ruby Console and try again.
Advertisement