[Plugin Beta] Curviloft 1.8a - 31 Oct 18 (Loft & Skinning)

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby TIG » Fri Sep 09, 2011 10:06 am

TrisQ wrote:Fredo, this tool is brilliant. Thank you so much. I am using it for 3D Printing, and the one issue I am struggling with are "holes" in the shells, that make the resulting STL files cause trouble in the further printing process. Do you have any advice on how to avoid such tiny holes, or what situations to avoid that are prone to causing them? Thanks, TrisQ
When you make complex geometry in code [and sometimes by hand] tiny tolerance issues result in microscopic holes. If your initial geometry is too small this can be more prone. Sketchup/OpenGL can't create faces <~1mm [0.01sq"] but they can exist later - so making something perhaps x10 the final size and scaling it down later by x0.1 will avoid many problems.
There is an excellent tool by Thomthom - 'Solid Inspector' - which highlights 'errors' in your near-solid groups and lets you see where they are, so you can fix them. Look in the Plugins Index [big red button above here] - viewtopic.php?p=250026#p250026 > viewtopic.php?p=267832#p267832
0
TIG
User avatar
TIG 
Global Moderator
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby jgb » Fri Sep 09, 2011 1:42 pm

I found in some complex skinning that CL may either not skin, or will partially skin, or twist the skin, or seem to work (black pre-skin looks OK then an empty group results), or in rare cases, leave tiny gaps as you have experienced. But when I do these complex skins in sections, then later explode the multiple results, CL does work quite well, most of the time.

Also reducing the complexity of the guide curves helps a lot.

Perhaps you could do your CL skins in sections to see if that helps.
0
__________________
jgb
User avatar
jgb 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby jgb » Fri Sep 09, 2011 1:54 pm

While I am looking at this topic, I'd like to add a suggestion for Fredo to ponder.

Fredo; is there any way you could be a bit more specific when CL finds an error in the selected guide curves? Right now, if CL cannot form a skin, it colors the guide curves, but there is no indication of what caused the error, which 95% of the time is a tiny gap somewhere. Otherwise it usually is a tiny extra fragment/double line in the selection.

Fragments are relatively easy, but time consuming, to find, so a clue as to where it is would help a lot.

Tiny gaps almost always require a near total redraw of all the line segments, so any indication where the gap actually is would be tremendously useful.
0
__________________
jgb
User avatar
jgb 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby mac1 » Fri Sep 09, 2011 3:32 pm

0

mac1 
Top SketchUcator
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby jgb » Fri Sep 09, 2011 4:45 pm

mac1 wrote:jgb
have you tried this http://www.smustard.com/script/StrayLines


I think I looked at this some time ago, and found it not quite suitable in several, but common to me, occurrences. It works well with lines, but I had too many "no finds" when 2 or more vertexes of existing faces had a "no-face" micro gap between them. Maybe I used it wrong, dunno; too long ago.

I will try it again; thanks.
0
__________________
jgb
User avatar
jgb 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby mac1 » Fri Sep 09, 2011 5:17 pm

jgb wrote:
mac1 wrote:jgb
have you tried this http://www.smustard.com/script/StrayLines


I think I looked at this some time ago, and found it not quite suitable in several, but common to me, occurrences. It works well with lines, but I had too many "no finds" when 2 or more vertexes of existing faces had a "no-face" micro gap between them. Maybe I used it wrong, dunno; too long ago.

I will try it again; thanks.

Applying multiple times helps some times and of course it does one seg at a time ,so you can make a stray line shorter and shorter :oops:
There are programs with filters that allow you to close close vertices based on a tolerance you input. Meshlab comes to mind but would not recommend you use. Check out ThmoThoms clean up since it may have a similar function. You may need to contact him to find out how to modiy code if it uses a fixed tol
0

mac1 
Top SketchUcator
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby ivreich » Wed Sep 14, 2011 5:46 am

Soft Diagonals Feature?

Hi Fredo

Any plans to allow Curviloft to generate meshes with soft diagonals? This will enable Curviloft meshes to be edited with thomthom's new quad face tools (if i'm not mistaken)

Cheers,

Joel
0

ivreich 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby thomthom » Wed Sep 14, 2011 8:43 am

ivreich wrote:Soft Diagonals Feature?

Hi Fredo

Any plans to allow Curviloft to generate meshes with soft diagonals? This will enable Curviloft meshes to be edited with thomthom's new quad face tools (if i'm not mistaken)

Cheers,

Joel

viewtopic.php?f=323&t=39442&start=0#p348519
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby ivreich » Wed Sep 14, 2011 2:42 pm

thomthom wrote:
ivreich wrote:Soft Diagonals Feature?

Hi Fredo

Any plans to allow Curviloft to generate meshes with soft diagonals? This will enable Curviloft meshes to be edited with thomthom's new quad face tools (if i'm not mistaken)

Cheers,

Joel

viewtopic.php?f=323&t=39442&start=0#p348519


ahhh woops. my bad. didn't see that.

j
0

ivreich 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby jgb » Wed Sep 14, 2011 3:40 pm

Posted in another of my threads, this is slightly edited version.

Curviloft; when it fails to form a surface (as part of a solid construction), even though it shows a black pre-form surface, still generates an empty, or perhaps an almost empty group that SU interprets to be as a non solid. Solid Inspector will correctly say it finds no errors, but SU will not see it as a solid. And if you try to re-do that failed surface, you get another empty group.

The only way out, is if you know you do have a valid solid after a Curviloft fail, but SU says not, then edit the solid and do a sweeping left select to select everything. Using TT's selection tools, select only groups, and there it is. Just hit the <delete> key to get rid of it. You cannot select just that empty group. If you have other valid groups in that selection, then deselect them first.

Fredo.... Could you please do something about NOT creating an empty group when CL fails to form a surface?
0
__________________
jgb
User avatar
jgb 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby fredo6 » Wed Sep 14, 2011 6:21 pm

jgb wrote:
Fredo.... Could you please do something about NOT creating an empty group when CL fails to form a surface?


Thanks for signaling this problem. I will indeed fix it.
Do you have an example of a model where it fails?

ivreich wrote:Any plans to allow Curviloft to generate meshes with soft diagonals? This will enable Curviloft meshes to be edited with thomthom's new quad face tools (if i'm not mistaken)

I have plans!
Note that it will slightly slow down the generation of the faces however.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby jgb » Thu Sep 15, 2011 3:15 pm

I will try to duplicate the problem, because I modified the object in that area since that happened, but if I can't I will post next time it happens.

But when you say you will fix the problem... which one; the fail to form a surface when a black face does pre-form, or the empty group when that happens???

EDIT ---------------

Fortunately the problem box model still had the empty group problem when I reversed my changes.

You are looking at the open face from beneath and inside the box structure. That box was a clean solid but I had to change the angle slightly on the 2 end faces (4 faces total). 3 of the faces remained intact, 1 face vanished. I selected its' 4 edges but the SU "Face" command would not form the face.

Then I re-selected the 4 edges and used CL "Skin". The black preform appeared with only a single face. But when I clicked finish, it disappeared and nothing showed. I tried a few times, but same result. So I just drew a diagonal and the surface formed with 2 triangles. When I exited the object, SU said it was not a solid. SI said it was a solid. I had this problem before with an embedded group, not knowing why it happened, but I knew now how to fix them.

So I went back into edit mode, and did a left sweep select, then a TT Select "groups". and there they were, several empty groups outlining my 4 edges. When I hit <del> and exited, SU said I had a solid.

I did a CL skin on the posted model but left the empty group intact for you to analyze.
0
__________________
jgb
User avatar
jgb 
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby fredo6 » Thu Sep 15, 2011 10:29 pm

I see the empty group. It is true that it is not easy to detect.

At least I can try to prevent empty groups to be created (except if the face disappears afterwards).

Playing with the 4 edges, I could reconstruct the face, whether the empty group was present or not, with pre-selection or manual selection. The mystery remains why the face was not generated or vanished.

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.1c - 29 Jun 11 (Loft & Skinnin

Postby jgb » Thu Sep 15, 2011 11:58 pm

Fredo6 wrote:I see the empty group. It is true that it is not easy to detect.

At least I can try to prevent empty groups to be created (except if the face disappears afterwards).

Playing with the 4 edges, I could reconstruct the face, whether the empty group was present or not, with pre-selection or manual selection. The mystery remains why the face was not generated or vanished.

Fredo


The "Black Face Forms - No White Face formed" has happened many times before. It seems more prevalent when I try to form a flat face that would not face via the SU face command. But other curves have generated a "Black Face - no White Face" as well, not just flats. But in many of those cases if I do the curve in 2 or more sections, it works.
0
__________________
jgb
User avatar
jgb 
 

Re: [Plugin Beta] Curviloft 1.2a - 29 Jun 11 (Loft & Skinnin

Postby fredo6 » Wed Sep 21, 2011 10:49 pm

NEW RELEASE: Curviloft 1.2a - 21 Sep 11

IMPORTANT: you need to install LibFredo6 4.2 (or higher). With this version of LibFredo6, the ZLoader__Curviloft.rb is no longer necessary.

This release includes the generation of pseudo-quads for usage by the new QuadFaceTools by Thomthom.

The surface is generated out of quads with a diagonal which is Soft and Smooth.

Because there always 2 ways to triangulate a quad, Curviloft offers both options.

Curviloft Pseudo quads.gif


This release also prevents to get an empty group when something goes wrong in the generation of the geometry. This problem was signaled by jgb (see this post).

See main post for download

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2a - 21 Sep 11 (Loft & Skinnin

Postby thomthom » Mon Sep 26, 2011 8:24 am

:thumb: :thumb:
Very nice Fredo.
I'll be looking into the revised definition of a Quad this week. I like your suggestion.

(Btw, I see that the preview still display black meshes - you know that SU8 now makes use of view.drawingcolor, yes?)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2a - 21 Sep 11 (Loft & Skinnin

Postby fredo6 » Mon Sep 26, 2011 10:19 am

thomthom wrote::thumb: :thumb:
Very nice Fredo.
I'll be looking into the revised definition of a Quad this week. I like your suggestion.

I will release an update with
- Border: Soft + Smooth
- Diagonals: Soft + Smooth + Hidden

thomthom wrote:(Btw, I see that the preview still display black meshes - you know that SU8 now makes use of view.drawingcolor, yes?)

I know, but for Curviloft, I'll keep Black anyway (due to the visual matching with the various colors of the lines).

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby fredo6 » Mon Sep 26, 2011 12:09 pm

NEW RELEASE: Curviloft 1.2b - 26 Sep 11

IMPORTANT: you need to install LibFredo6 4.2 (or higher). With this version of LibFredo6, the ZLoader__Curviloft.rb is no longer necessary.

This release includes more options for the generation of pseudo-quads for usage by the new QuadFaceTools by Thomthom.

Options are available in the Default Parameters dialog box
Curviloft Quads Param.png


By default, pseudo-quads are generated with:
- Borders: Soft + Smooth
- Diagonals: Soft + Smooth + Hidden

This allows to have a nice-looking surface, while being compliant with all functionality of Thomthom quads tool (which should be upgraded soon)

See main post for download

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby thomthom » Mon Sep 26, 2011 12:17 pm

:thumb:

FYI to users of QuadFace 0.3 and earlier, you must set the border edges to not be soft.

So for QuadFace 0.3 and earlier:
Diagonal: Soft + Smooth (Hidden may be set - not required)
Border: Not Soft (Smooth and Hidden can be set, but not a requirement)

QuadFace 0.4
Diagonal: Soft + Smooth + Hidden (All required)
Border: Not diagonal. (Any combo can be used as long as not all the checkboxes are ticked.)
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby Dave R » Mon Sep 26, 2011 12:44 pm

Thank you Fredo.

thomthom wrote:QuadFace 0.4


Thomas, I see links to 0.3 but not 0.4. I must be looking in the wrong place?
0
%

(THERE'S NO PLACE LIKE)

G28 X0.0 Y0.0 Z0.0

M30

%
User avatar
Dave R 
Global Moderator
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby Carrozza » Mon Sep 26, 2011 12:47 pm

Thanks for this great plugin! ^__^
0
User avatar
Carrozza 
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby thomthom » Mon Sep 26, 2011 1:30 pm

Dave R wrote:Thank you Fredo.

thomthom wrote:QuadFace 0.4


Thomas, I see links to 0.3 but not 0.4. I must be looking in the wrong place?


Yes, you must look on the harddisk of my private computer for version 0.4. ;)
( There's a teaser video in the first post: viewtopic.php?f=323&t=39442 - Toob: http://www.youtube.com/watch?v=NY-l93C-fPw )
0
Thomas Thomassen — SketchUp Monkey & Coding addict
List of my plugins and link to the CookieWare fund
User avatar
thomthom 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby Ben Ritter » Mon Sep 26, 2011 2:46 pm

Fredo, thank you again.
0

Ben Ritter 
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby derei » Mon Sep 26, 2011 4:55 pm

One question, this version doesn't use anymore ZLoader__Curviloft.rb file? I downloaded it and I found just the directory inside.

Thank you.
0
DESIGNER AND ARTIST DEREI.UK
User avatar
derei 
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby fredo6 » Mon Sep 26, 2011 5:50 pm

dereeei wrote:One question, this version doesn't use anymore ZLoader__Curviloft.rb file? I downloaded it and I found just the directory inside.

Thank you.

With LibFredo6 v4.0 and above, the ZLoader__xxx files are no longer used.
You can purge them by using the menu Windows > LibFredo6 Settings... > Purge Obsolete Files

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby derei » Mon Sep 26, 2011 6:14 pm

thanks, I did it!
0
DESIGNER AND ARTIST DEREI.UK
User avatar
derei 
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby ivreich » Wed Sep 28, 2011 2:41 pm

Hi Fredo

I'm not sure if this question has been answered before, but is there a way to ensure all segments in a loft have the same number of columns of quads and that all the junction curves meet up? I have played around with all the various lofting options with no success.

For example, in this image below all three profile curves have 30 segments but the resulting mesh has disjointed junction curves, making it hard to use thomthom's loop/ring selection tools properly. Also, some of the quads seem to be merged into a single long surface?

Cheers,

Joel
0

ivreich 
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby fredo6 » Wed Sep 28, 2011 6:02 pm

Joel,

Sections are computed idependently for the vertex matching, so if contours are very different, you may end up with the situation you describe.

So far, the only possibility is to use the Global F-spline options. It draws a mesh between the first and last contours trying to be as close as posible to the intermediate contours (but not matching their vertex).
This method is the first one of the group of two icons at the right of the Junction methods section in the palette.

Thanks to tell me if this option is useful (I included it just in case....)

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby ivreich » Thu Sep 29, 2011 5:37 am

Fredo6 wrote:
So far, the only possibility is to use the Global F-spline options. It draws a mesh between the first and last contours trying to be as close as posible to the intermediate contours (but not matching their vertex).
This method is the first one of the group of two icons at the right of the Junction methods section in the palette.

Thanks to tell me if this option is useful (I included it just in case....)

Fredo



Hi Fredo

Thanks for your reply. yes i did try the global F-spline options and these are the only options which work. They are definitely very useful; thanks for including them!

What I don't understand however is that the 3 profile curves shown in my example are very similar: they are actually three copies of the same uniform b-spline with slight adjustments to each. They have exactly same number of segments and the segments are all aligned approximately above each other, So I'm not sure why curviloft creates extra intermediate junction curves in some places?

Is it possible for Curviloft to gauge when all the profile curves have the same number of segments and do direct vertex matching without the extra junction curves? The reason being that the most logical way/neatest way of doing a loft is to use Bezierspline to give each of the profile curves the same number of segments before lofting.

Also, any idea about the second issue? the one where the quads are all merged into a single long face? Sorry if I'm a bit long winded, but I'm just very excited about the integration between Curviloft and Quad face tools...

Cheers,

Joel
0

ivreich 
 

Re: [Plugin Beta] Curviloft 1.2b - 26 Sep 11 (Loft & Skinnin

Postby fredo6 » Thu Sep 29, 2011 6:25 am

Could you post the model so that I have a closer look

Thanks

Fredo
0
User avatar
fredo6 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

PreviousNext


 

Return to Plugins

Who is online

Users browsing this forum: caubetoctien, jdizzle, medeek and 25 guests

Visit our sponsors: