News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

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.

Offset not working correctly?

Started by skeeter_ca, August 13, 2016, 07:14:33 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

skeeter_ca

I am working on drawing a wood wing rib. I drew the 60" cord airfoil shape using the spline by fit points tool, starting and ending at the same point. Now I am trying to draw another line .25in on the inside of the first line. I can get it to draw on the outside using the Offset tool(but it doesn't follow the shape correctly) however I cannot get it to add a line on the inside. Would a Bezier tool been better to use or something else? It took awhile just to draw the airfoil shape using 240 coordinate X,Y points.

skeeter

Using TC deluxe v21.2
Turbocad 2016 Professional

DonCW

Quote from: skeeter_ca on August 13, 2016, 07:14:33 AM
I am working on drawing a wood wing rib. I drew the 60" cord airfoil shape using the spline by fit points tool, starting and ending at the same point. Now I am trying to draw another line .25in on the inside of the first line. I can get it to draw on the outside using the Offset tool(but it doesn't follow the shape correctly) however I cannot get it to add a line on the inside. Would a Bezier tool been better to use or something else? It took awhile just to draw the airfoil shape using 240 coordinate X,Y points.

skeeter

Using TC deluxe v21.2
If possible, post the problem file.
DonCW
2020 Platinum
2018 Platinum
2017 Pro with Light Works Plug in



Windows 10
There's so much to learn and not much time left to learn it.

John R

I can replicate the problem in Deluxe 21.2.

If the Spline/Bezier/Polyline is "Closed", it will Offset to either side of the selection.
If the Spline/Bezier/Polyline is "Open"*, it will Offset to only one side.
* â€" the end points can meet, but aren't actually "closed" or separated by a small distance.
I'd call it a BUG. It's also present in Deluxe 2016, so upgrading won't help.
In Platinum 2016, closed or open Splines and Polylines work, but not Bezier.
John R.

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

Henry Hubich

#3
Here's a workaround for v21 Deluxe:

1. Assign a World width equal to two times the desired offset.
2. Explode two times & set Brush Pattern to “None.”
3. Explode the result one time. This produces two Polylines.
4. Select the inner Polyline and use the Edit tool to delete the unwanted nodes. Apply “Convert to Curve” if you wish.

Henry H

skeeter_ca

Is world width the pen line size? Brush pattern is already at none. Can't get it to work.

I tried to cut the ends of the spline and then draw a line by snapping to the ends but that didn't make any difference except now it will draw a correct line around the outside.

skeeter
Turbocad 2016 Professional

skeeter_ca

Can't seem to insert image. Am I restricted?
Turbocad 2016 Professional

Henry Hubich

#6
Quote from: skeeter_ca on August 14, 2016, 10:01:07 AM
Is world width the pen line size? Brush pattern is already at none. Can't get it to work.

I tried to cut the ends of the spline and then draw a line by snapping to the ends but that didn't make any difference except now it will draw a correct line around the outside.

skeeter

if you use my procedure, you must follow the sequence I indicated. For Step #1, double-click on your Spline to open the Properties dialog; click "Pen" in the left-hand window; then in the right-hand window set Scaling to "World" and Value to two times the desired offset. Check "Geometry" near the lower right corner of the dialog; click OK.

For Step #2, select the wide line if it's not already selected; explode it two times; then while it's still selected, open its Properties dialog; click "Brush" in the left-hand window; click "None" in the list of available patterns; click OK.

Henry H

skeeter_ca

Ok, following your detailed instructions I get two polylines one on the inside of the airfoil, which I want and one on the outside of the airfoil, one I don't want, but now there is not the original airfoil. Where is it?

Your instructions worked up till step 3 and it doesn't seem to do anything then. Do i then select the outer line segments and delete?

Sorry about all the questions I am very new at this and trying to learn.

skeeter
Turbocad 2016 Professional

Alvin Gregorio

I think you should give John R's (Reply #3) hint at a suggestion a try.  It'd be the cleanest/simplest.

You state that the starting node and the ending node are at the same point.  But is the 2D Object closed?-- not visually seeming to be "closed"; but rather "Closed" as far as the program is concerned.

Two ways to ascertain that:
1)  Select the Object and apply a Solid Brush.  If it fills, the program thinks it's "Closed"; if not, it is not closed, as far as the program is concerned.
2)  Activate the Edit Tool.  Using the Edit Tool, select the Object.  Right-click for the Local Menu, and at the very bottom of the Local Menu, see if the "Close" option is available-- not grayed-out.  (the "Close" option would also be available down in the Inspector Bar, to the right.)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Henry Hubich

"but now there is not the original airfoil. Where is it?"

It's gone. If you haven't closed the drawing yet, keep pressing the Undo button until the original airfoil comes back. (Next time, make a copy first.) If it's not recoverable and you have to redraw it, be aware that you don't really need 240 points to make an accurate shape. Thirty points should be more than enough.

"Your instructions worked up till step 3 and it doesn't seem to do anything then. Do i then select the outer line segments and delete?"

Step 3 should have produced two separate Polylines. Edit the inner one in accordance with Step 4 and delete the outer one.

Henry H


Henry Hubich

Quote from: Alvin Gregorio on August 14, 2016, 02:32:24 PM
I think you should give John R's (Reply #3) hint at a suggestion a try.  It'd be the cleanest/simplest.

You state that the starting node and the ending node are at the same point.  But is the 2D Object closed?-- not visually seeming to be "closed"; but rather "Closed" as far as the program is concerned.

Two ways to ascertain that:
1)  Select the Object and apply a Solid Brush.  If it fills, the program thinks it's "Closed"; if not, it is not closed, as far as the program is concerned.
2)  Activate the Edit Tool.  Using the Edit Tool, select the Object.  Right-click for the Local Menu, and at the very bottom of the Local Menu, see if the "Close" option is available-- not grayed-out.  (the "Close" option would also be available down in the Inspector Bar, to the right.)

Alvin, does that really work in your v21 Deluxe installation? Not in mine.

Henry H

Alvin Gregorio

Quote from: Henry Hubich on August 14, 2016, 03:06:09 PM
Quote from: Alvin Gregorio on August 14, 2016, 02:32:24 PM

Alvin, does that really work in your v21 Deluxe installation? Not in mine.

Henry H

I don't have version-21-Deluxe installed Henry, to test it out.
I was just going off of what John posted.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Dean

I did this in Deluxe 2016 using Henry's method.
Then I added thickness to the curves and 3d subtracted.
I couldn't get the other method to work.
"What do I know, I'm still learning".
Lenovo Legion T5  Intel(R) Core(TM) i7-14th Gen 20 cores Nvidia RTX 4070 Super 16GB Windows 11 home TurboCad 2025 with Animation Lab 6.0

skeeter_ca

Quote from: Alvin Gregorio on August 14, 2016, 02:32:24 PM
I think you should give John R's (Reply #3) hint at a suggestion a try.  It'd be the cleanest/simplest.

You state that the starting node and the ending node are at the same point.  But is the 2D Object closed?-- not visually seeming to be "closed"; but rather "Closed" as far as the program is concerned.

Two ways to ascertain that:
1)  Select the Object and apply a Solid Brush.  If it fills, the program thinks it's "Closed"; if not, it is not closed, as far as the program is concerned.
2)  Activate the Edit Tool.  Using the Edit Tool, select the Object.  Right-click for the Local Menu, and at the very bottom of the Local Menu, see if the "Close" option is available-- not grayed-out.  (the "Close" option would also be available down in the Inspector Bar, to the right.)

Ok, I tried a solid brush and it wouldn't fill it. Then I closed the object like you recommended and then it would fill so I have a closed object. Still having problems creating the inside line using offset. Even the outside line is incorrectly drawn.

Now I did trim the starting and ending points and drew a new line between them snapping at the vertex. Now a line can be drawn around the outside of that airfoil (we will call it #2) correctly using offset. However it still will not draw a line on the inside. This is driving me crazy.

FYI, I did save the original airfoil#1 and the modified airfoil#2, so I can experiment with them and still be able to go back if I have to start over.

skeeter

Turbocad 2016 Professional

skeeter_ca

So I did the method recommended by Henry and I came out with two lines, one larger and one smaller than my original airfoil. I deleted all of the out side lines and trimmed the ends so it looks like a normal airfoil. Then I tested to see if it was closed by filling it with hatches. No go. I tried to close it but the edit tool will not let me select it to close it. Not being sure the object is closed concerns me for when I modify the lines at a later date. When I use the select tool it will only select the part of the object that the select box covers. Like it is a whole lot of small lines put together.Which I understand that is what it is,

but how do I close them all together?

Darrell
Turbocad 2016 Professional

skeeter_ca

So here is the airfoil I got with Henrys method and then I deleted the outer lines.
Turbocad 2016 Professional

Henry Hubich

Quote from: skeeter_ca on August 15, 2016, 12:16:35 PM
So I did the method recommended by Henry and I came out with two lines, one larger and one smaller than my original airfoil. I deleted all of the out side lines and trimmed the ends so it looks like a normal airfoil. Then I tested to see if it was closed by filling it with hatches. No go. I tried to close it but the edit tool will not let me select it to close it. Not being sure the object is closed concerns me for when I modify the lines at a later date. When I use the select tool it will only select the part of the object that the select box covers. Like it is a whole lot of small lines put together.Which I understand that is what it is,

but how do I close them all together?


Darrell

It sounds as if you exploded that inner line, thus changing it from a single Polyline to a whole bunch of individual Lines. Try the Join Polyline tool to weld them back together.

Henry H

skeeter_ca

Quote from: Henry Hubich on August 15, 2016, 02:35:35 PM
Quote from: skeeter_ca on August 15, 2016, 12:16:35 PM
So I did the method recommended by Henry and I came out with two lines, one larger and one smaller than my original airfoil. I deleted all of the out side lines and trimmed the ends so it looks like a normal airfoil. Then I tested to see if it was closed by filling it with hatches. No go. I tried to close it but the edit tool will not let me select it to close it. Not being sure the object is closed concerns me for when I modify the lines at a later date. When I use the select tool it will only select the part of the object that the select box covers. Like it is a whole lot of small lines put together.Which I understand that is what it is,

but how do I close them all together?


Darrell

It sounds as if you exploded that inner line, thus changing it from a single Polyline to a whole bunch of individual Lines. Try the Join Polyline tool to weld them back together.

Henry H

That worked, thanks!

Now I just have to get it centered properly.

Darrell
Turbocad 2016 Professional

skeeter_ca

Just to let everyone know I did find a good work around to my problem. With the airfoil drawn completely all they way around, I placed a small break in a straight portion of the airfoil on the bottom. I snapped a new line to seal it back up again. I did the offset just like normal and it drew if perfectly, Except for the small break I had made. I just snapped a line to complete the offset and wholla!!! Completed. Thanks for all your help!

Darrell
Turbocad 2016 Professional