News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu

Lofting and shelling

Started by colinreid, May 08, 2012, 05:28:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

colinreid

I have been following the discussions on

http://forums.turbocad.com/index.php/topic,8873.0.html

with particular on shelling lofts from Henry Hubich.  I have also used the "trick" while learning from Don Cheke's excellent AirBus A320 airliner tutorial.

However, I have struck a snag illustrated in the attached TCW file,  When I try and shell the black loft (from the blue cross sections) I get the error message shown in the JPG file.  I was intending to do 3D Intersects and 3D Deletes to form strakes on the outside of the loft with the simple extrudes.   I even tried doing the Intersects/Deletes and then shelling the result but got the same error message.

My knowledge of TC (v19x64 PP) does not run to understanding why the loft will not shell and any advice would be gratefully recieved.

regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

wrkempson

Colin,

I have never gotten ship hulls to behave in TC.  In your case, it will shell inboard, but not outboard.  There may be a work around on this (I have been trying for a long time!), but perhaps someone can explain the logic of this.  Your loft has nice smooth curves and does not double in on itself.  If you loft only from the next to last station to the first station, the thing lofts and shells nicely.  It seems the stem and stern add the complication.  If you loft just from the first station to the stem, you can shell just fine.  If you loft from the second station to the first to the stem, things fall apart.   This has been my experience also with hulls.  That's one reason I took a break to make a stagecoach.  So, I'll be looking in on this thread hoping for an answer.

Wayne

Henry Hubich

I deleted the object and made a new Loft, which shelled easily to negative 25mm. It would shell in the other direction to a thickness of 3mm but failed when I asked for anything greater.

Henry H

edbardet

I'm not sure whether this will help or not but -

I had a loft that would not work from end to end. I ended up doing it in two overlapping parts and using booles to make one object. You may want to try that approach.

Ed

P.S. Colin and Wayne - if we ever have the time maybe we should wring out the problems and find workarounds for using TC in hull design and ship work.
2020 platinum

colinreid

Thanks for the comments.  The smoothness of lines is down to the tutorial posted by Darrel  Carl Durose at http://www.worldwideflood.com/CAD/hull_loft_tute.pdf.  My hamfisted earlier versions were a bit jangly and not smooth.

I will try the idea of overlapping each end but what are booles.  A new one on me.

Fascinating that Henry could shell 25mm inwards but only 3mm outward.  Strange but maybe worth trying to expand the cross sections by 25mm and then shell inward.  I will give that a go and report back when results are in.

Only too glad to help, Ed, wringing out problems.  I think Darrel's tutorial spiline dividers promotes better smoothness but always it comes back how to get the bow and stern sections to work particularily with sharp bow lines or transomed sterns.

regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

#5
Colin,

I know that what has been banded around for a while is to have all your loft profiles to have the same node count... i.e copying and repositioning the node points.

Like you say, it is when you get to the bow and stern ends things get tricky, but maybe a really small loft profile with the same amount of nodes could finish those areas?

Shelling A complex hull is going to be problematic... I would "Solid Subtract" which I think would be more successful.

Another option I have thought about is rather than only "skinning" half of the hull, try making a loft profile like a double line (equal to the hulls thickness) and that being both halves.... still keeping node counts the same for each of the loft profiles.... this could work  ???
It would be a bit more work creating the profiles but at least you wouldn't have any shelling, subtracting or mirror copying to do... :)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

wrkempson

Darrel,

Thank you for the good advice.  I have tried keeping the same number of nodes, lofting two shells in order to subtract one  from the other, as well as one or two other pathways to failure.  At this point I am almost convinced that lofting a hull is the Holy Grail of TC.

One thing I have not yet tried is to loft along station lines up to the area just before the bow and stern.  From there the station lines could be canted to a gentle run into the stem and stern.  Like I said, I have not tried it, so it is my main hope at the moment.  It is a reflection of the English practice for building their ships two hundred years ago.  If I ever try it I'll try to report back.

Other programs seem to have less trouble with this exercise.  Do you know why?  What is the algorithm behind the lofting function?

Thanks again,

Wayne

John R

re: What is the algorithm behind the lofting function?

Maybe the Lofting page at Spatial (the people who distribute ACIS) will give you a clue. Doubtful, but it's a start.
John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Darrel Durose

Wayne,

I think a lot of the problems is that the ACIS engine gets confused. I did solve a problem at Christmas time which led to a bit of insight into how the ACIS engine "likes" to see guidelines placed when lofting -  see my Topic - http://forums.turbocad.com/index.php/topic,7812.0.html

Smesh could be another option, but I have not experimented to a great extent and I think if we want accuracy in our models I think smeshing is an approximate way to create a hull's shape from what I have seen so far....

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

wrkempson

John and Darrel,

Thank you for a quick response.  I read the article at Spatial and understood very little of it.  I did see that profiles need to be "well-behaved" which we have all been trying to achieve.  The other word in the article was "tangent" which I took to mean that the algorithm is trying to create curves with a tangent function and that sometimes a tangent among profiles is not mathematically possible.  Thus, a loft from profile 1 to 2 might work, and a loft from 2 to 3 might work, but the loft from 1 to 2 to 3 is rejected.  This happens to me all the time.

Darrel, I recall reading your interesting post when it first came on line.  I'm not sure what the loft guides are nor how to use them.  I know other folks on other programs use meshes.

Wayne

Darrel Durose

#10
Well Guys

I have played around with Colin's file and used the knowledge regarding guide/loft line positioning and got the result below...

No lag on creation of the skin and none also on the shelling which Henry had the issue with the amount he could enter....

This radial way to create the hull loft is logical to enable the result to have sharp corners/creases and not to get TC confused to much  ;D

Also - ensure you have the ACIS settings as in the below attached image....

Clearly this shows that the ACIS engine does like to have the correct positions of line and guides to create error free lofts and transforms!
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

wrkempson

How very interesting.  This may be the right direction.  Ships have four lines: body, water, buttock, and diagonal.  You seem to being using the diagonal concept (almost) which is something that had not occurred to me.

There may be some work left to do.  The result you have given makes for a boat.  Colin may want to certify that it is precisely the boat he is trying to make.  When I followed your process, my result was a boat, but it did not have the lines of the boat Colin is trying to make.

Thanks for the great progress, though.

Wayne

Darrel Durose

#12
Thanks Wayne

Yes, this is the way forward for creating an accurate shape for a hull...

I found this article about the a ships lines http://www.fao.org/docrep/003/v9468e/v9468e05.htm. the figures on this look very much like the guide line created.

Using the ACIS horizontal loft to "get" the no.2 loft line is the key and the no.4 guide line to "force" the "S" the shape to the hull.. :)

The screenshot below shows a bit more of the smooth shape created in Reddsk wireframe views..
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

colinreid

Thanks Wayne

The hull on the right of Darrel's JPG is pretty close to what I am aiming for. 

I used the technique using curved spline dividers referred to earlier in my post of 10 May and then replotted the  cross sections only using the points on the original hull sections where they intersected with those dividers.  Those splines by control points were then (Ctrl+F/Curve) to change the space between control points from 20 to 5 to improve smoothness.  The bow line was plotted from the left cross section back to the bow and then trimmed back from the section until it lofted.  The stern loft point (a very short red line in my first post) located at the point on the original long section as this worked and pulled the stern to nearly the shape I wanted.

Darrel

Thanks for your help (and the point to here from my other query on guidelines).  Would I be right in thinking that you have added  3D splines 1. 2 & 3 manually?   Did you adjust line 2 from my file to curve up to the bow point as your JPG line 2 seems to differ to mine.

My ASIS settings are as yours (assumed to be default).

I do not yet understand the "leap" using a ACIS horizontal loft and could find nothing in the helpfile or on the Wiki pages.  I tried relofting the sections with the 3D splines as guidelines (i.e., I have learnt that at least).  The resulting loft was no different to the original but no middle loft line appeared (which I assume to be line 4 but not marked on your JPG).  I tried lofting the 3D splines but they would not loft even if I rerouted line 2 on selfintersecting grounds.

Nearly there?

regards
Colin Reid
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

#14
Colin

The below JPG hopefully explains it a bit clearer for you. The 3D splines where created manually by snapping to the end points and outlines you have created.
Line 2 is not the line from the curve you created, the path for that very important line was from the ACIS horizontal loft.

When you create the horizontal loft and have degenerative faceting ticked the loft shows those lines that the ACIS engine has generated - Lines "2" and "G"  :)

Edit
Important Info - Make sure when creating line "2" that the node points are very close to the vertical guide lines otherwise when you select line "G" the loft will not follow the guide at all!.....
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

#15
Well Guys

Solved it... The previous points were partway there.... I couldn't understand why I could not use more than 3 radial loft lines.  ???

I turned off "degenerative faceting" to see the lines and started snapping to those lines seen in the horizontal loft and it worked!  :)

Line placement that clearly is the key..... luckily we can determine these by creating a simpler loft to guide us...

This is also very much along the lines that a boat/ships hull is drawn out as Wayne mentioned "body, water, buttock, and diagonal"....
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

colinreid

Oh Wow! Excellent Darrel.  Thanks - all I need to do now is go away, study your posts, replicate and learn.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

wrkempson

Colin,

You may want to study Darrel's loft in detail.  It is an approximation of your hull shape; not a precise representation.  Compare the loft to the actual body lines you are using.  You may notice that the loft does not quite match them.  I hesitate to point this out since Darrel's suggestions are so very helpful.  If all we need are approximations then the problem is indeed solved.

Wayne

Darrel Durose

Colin & Wayne

I haven't noticed to only be an approximation, I did examine it, but I  think I only used one central guide line in that experiment..... use more, or all of them, maybe this will follow it more precisely...

I think setting the ACIS to custom to get more info and more node points will help....

I will have to experiment...

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

wrkempson

Darrel,

First, I want to thank you for paying so much attention to this challenging problem.  I have been trying to loft an accurate ship's hull for years without complete success.  The best I have been able to do is get close with a form that would not shell.

Some time ago I did loft Colin's hull using all the body shapes.  It was a rather beastly experience, I think.  In your approach, one generates new profiles along diagonals by copying the lofting points from a "horizontal" (read, fore and aft?) loft.  Then one lofts not the body profiles but the new diagonal splines using the old body profiles as the new guidelines.  It may be that TC treats guidelines as just that, guides.  Anyway, I found that adding more body profiles as guides seemed to confuse TC.  I also tried adding more than one diagonal spline, but that caused a frustration all its own.  The results from your method do shell nicely, however, which is something I had not been able to achieve previously.  I really think you are on to something here.

Just for laughs, I am attaching a few pictures of a hull I have been playing with for some time.  It looks OK until one zooms in on it, and it will not shell at all.

Wayne

Darrel Durose

#21
Wayne

Very nice modelling and thanks for the thanks  :)

Yes - this is the way forward in being able to shell a hull without errors..... obviously within limits....

I am going to try using even more 3D splines to get a more accurate profile to follow Colin's splines.... increasing the ACIS detail to custom should hopefully give us the required lines to follow, the more lines we give ACIS to work with the more accurate the shape will be..

This will also do away with the need to use the "select guides" at the end of the lofting sequence I think  :o



Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

#22
Just done a quick experiment and I can conclude that more lines improve the lofted shape. I changed the ACIS faceter mode to "custom" and the normal tolerance to "2"

I also can conclude that the "Select Guide Lines" is not required!

Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

colinreid

Wayne

I am quite happy with what Darrel has posted as I am learning his lessons and trying to replicate them on my model.  Surprising where the original question about shellingh has got us all forward. 

Interesting about yor beastly experience with my hull as that is precisely why I was investingating other ways to loft hull.  Not bad for a newbie who just happened to start modelling with something so difficult.

Darrel

I am still playing with the horizontal loft and you go and make a huge leap forward.  So, two questions.

1.  How did you generate the extra 3D splines that do away with the guidelines?  I assume manually.

2.  How do you get the grid effect in the wireframe.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

#24
Colin
Before or after creating the horizontal loft you need to change your ACIS settings.
Untick "Degenerative Faceting"
Change from "Quality" to "Custom"
Then change the tolerance factor to something like "2"
You should then see the skin lines for you to snap the 3D splines too.
All you need to do then is to snap a few 3D splines following the horizontal ones created by the loft. The best Snap tool  is the Node Snap (Called Vertex in TC Hint) as this one clings to the points where the horizontal and vertical line cross.
The more splines you create the more accurate the final Radial Loft will be.
I select from top to bottom in the loft sequence.
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Darrel Durose

Also Colin

I changed the colour of the horizontal loft to a light grey colour to make it easier to see the 3D splines you are creating.
Also, make sure when you pick a contour line to snap to, you follow it all the way through to the other end...
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

colinreid

I have been playing with horizontal lofts. etc and following on to your thoughts on creating additional 3D splines.

So I had a thought.  Why do I need to shell the complete hull - why not just shell any above deck hull that you see. 

If I need strakes, just add them to the outside as a 2D shape at each cross section and loft those but I am still playing with this.

Then I had another thought rather than adding 3D splines, why not loft the cross sections and then use the plan section and profile/buttock section that come with most hull designs as guidelines.  The result is below rendered but I have turned the cross sections off and left the plans (green) and profiles (red) on.

Almost there I think.  But I would welcome any comments.

The other picture is the above deck drawing waiting to have the keek and hull added.
regards
Colin Reid
TC2018 Pro Platinum 64 bit  + LW plugin on Win10 desktop and  Quad Intel i7 with 32GB RAM + 128GB  SSD and 2TB partitioned hard disk, NVidia 2GB video

Darrel Durose

#27
Looking good Colin...

Quote from: colinreid on May 16, 2012, 07:15:26 AM


Then I had another thought rather than adding 3D splines, why not loft the cross sections and then use the plan section and profile/buttock section that come with most hull designs as guidelines.  The result is below rendered but I have turned the cross sections off and left the plans (green) and profiles (red) on.

Using the cross sections and the plan sections as guides will not work very well I have found. Certainly the guides do not seem to work, the pointed ends cause problems plus the shelling isn't always possible...

One thing to improve the horizontal loft, to create the 3D Splines from, is to create profiles of both ends and loft the horizontals ones in two halves.... yes, this could all be that is required but you will notice a visible joint line only doing it this way.....and you will still have issues shelling it... ???
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.

Andy H

Darrel - Excellent work with lofting using guide lines experiments, I'm sure your hard work will help many people.   

Colin - good work with the ship / boat its coming along nicely, its nice to see a job progress.

Andy



Darrel Durose

Thanks Andy..... It has been a bit of therapy to take my mind off other things to be honest....

The radial method works well for this type of modelling... :)
Daz...
V2020 & V2022 Plat 64bit, Lenovo P72 Laptop, Window 10 Pro for Workstations, Intel Xeon E-2186 CPU @ 2.90 Ghz (6 cores/12 threads), 64GB RAM, Nvidia P5200 c/w Max=Q Design GPU, Display UHD 3840x2160 pixels
TurboCAD user since V3 and Turbocad 3D V1.