[Plugin][WIP][OpenSource] Bezier Surface
-
thank you very much for sharing this very fun tool.
a consultation:
as add tripatch tool is used? -
@jql said:
(Thomthom - I submited the bugsplats.)
Which platform and what OS? Did you mention Bezier Surface in the BugSplats?
-
@jql said:
I think subdivision is really important to be able to input quickly, but distance is even more. What would you feel about introducing subdivisions as "2s" while "2" would be used for units?
That sounds like a good idea. Filing feature request.
-
@box said:
Yes for me using the Gizmo defaults to subdivisions and will bug splat if you try 2.
I'm not entirely sure I understand the steps for this. Can you elaborate?
-
If you type 2 enter, in other words try to set the subdivisions to 2, it will bug splatt.
-
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.
-
Where are the instructions?
-
-
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!
Advertisement