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
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

lofting problem

Started by colinreid, August 26, 2013, 07:21:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

colinreid

Attached are four sections across the very complex half of a hull.  The rest of the 24 sections loft happily but theses 4 will not even loft section to section.  I have tried to loft them with and without the complex shapes turned on.

Anybody any idea what the problem is?

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

Henry Hubich

Not sure what the specific problem is, Colin. I redrew the profiles, using a Polyline (red) and a Spline (blue) for each, being sure that all four Polylines had the same number of nodes and that all four Splines had the same number of nodes. Result still isn't as smooth as one might wish.

Henry H

colinreid

Henry

Much obliged as I think it points me in the direction to go.  When I tried to loft them, The error message attached appears and I assume this to mean something is wrong with the profiles lofted.

The outer part of the hull lines were scanned in from the original shipyard drawings and resized to full-scale and then traced as splines.  Because in the past, I have struggled to get square corners using polylines or splines.  I then joined the outer hull lines to the centreline with polylines, joined them as polylines and then converted them to Beziers.

This then I think is the problem as there is nowhere anything like equal numbers of nodes and the fact that the rest of the hull does loft is probably accidental as they are very similar shapes.  From a post in the past, I have always traced the original shape using a set of curved profiles (second attachment) resized to suit all the sections along the hull by clicking the spline on the intersection between each individual section and the curved dividers.  This gets pretty much equal nodes as suggested.

A question, how do toy get square corners at the top and bottom of the centreline and where the deck line meets the hull?
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

Henry Hubich

"A question, how do toy get square corners at the top and bottom of the centreline and where the deck line meets the hull?"

That's why I used a Polyline as part of the profile.

Henry H

colinreid

Henry - once again I think you have helped me find a solution as follows:

I think that joining up the polylines and splines and then converting them to Beziers, some of which had then to be closed to loft, caused problems but I had to enlarge each result to find some strange nodes which assume caused the lofting problems.  Makes me think this might be a sneaky change in V20 as this did not happen in V18 on the last less complicated hull I tried.

So, I traced each curved part of each section as an open spline and ignored the deck level  and vertical centrelines.  Although I am only part way through, the splines are lofting just fine.(see attached)

When they are all done, lofted and mirrored, I will add the separate deck (and probably bodge any remaining errors) and give it a material.

Many thanks
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

michael.carter@xtra.co.nz

I am new here. I have done  a lot of work at lofting hulls. I have tried to open your files on my V P18 and they wont open. Prompt says 'no filter matches the file'. Help me with this and I may be able to help you  :)

John R

Hi Michael,

Welcome to the world of TurboCAD.

The files are from V19 and V20, so V18 won't open them unless they're saved to that format. I saved them to V18 and bundled 'em in the ZIP file.
John R.

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

michael.carter@xtra.co.nz

John - thanks it is opening OK now. I will have a play with it tomorrow working just with Bezier.  I will be interested to see the result of your work.  With that many sections you may not get a fair hull We cannot be accurate enough with many sections at this scale to be fair.   The program lofts very well if we let it do its work. Try forcing it with many sections and it turns to crap. I recently drew up a motor boat with just 4 sections. It came out very well.

You may have noticed that the moment we join polylines the nodes increase dramatically.  There is a way to get straight lines with sharp corners, along with curves in one Bezier   Once I establish that it lofts with a sharp corner I will pass it on.

Cheers

Michael C

colinreid

A posting point for John R - I never think about posting examples in the version I am currently using (V20) but would it be preferable if we saved a post in say V18 format to prevent this kind of problem?

How to get sharp corners is tricky and slightly time consuming.  If the shape you want has a mixture of curves and straight lines with some sharp corners, I use the following procedure

1. Plot the straight lines as polylines leaving a very gap where it joins the curves (gets corners sharp)
2. Plot the curves as splines with control points with a similar gap at joining points
3. Make sure all the elements are on the same workplane (Ctrl+Alt+W)
4. Join the gaps using the Join 2 Lines control.
5. Use the Join polylines control to link all the elements.
6. Convert the completed element to a Bezier using the Convert control.
7. Don't be tempted to convert the Bezier to a spline to further reduce nodes as all the straight lines will become curves (thank God for Ctrl+Z)

I cannot tell you where the various controls are on screen as I have heavily changed the layout of the controls to suit my way of working over the years.

Item 6 is really needed if you intend to loft the various sections into a hull to reduce the number of lines in the loft.

As a follow up to my previous posts on the lofting I found another sneaky trick.  Because the hull is such a complex shape (see attachments), I split the hull vertically (at DWL) and lofted them separately and then 3D Added them together. (helps with getting the different paint colours as materials)  The lofting was more precise that way as it had less problems with the sudden changes of shape section to section.

I went for thin shelled hull wall with a separate deck as they have different materials,  Now to the superstructure.
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