News:

The purpose of these forums is to discuss TurboCAD.  Please keep the discussion of other products to compatibility issues or how the other software can be used with TurboCAD.

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.

Profiling a pdf or jpg

Started by knute971, July 23, 2022, 09:09:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

knute971

I have been trying take my 2D TC house plans and convert it to a 3D model -- using TC2021 Platinum.

On trying to render the stair case balusters, I imported a jpg of the balusters, figured out a scale factor from the real dimensions, and then tried to profile the baluster.  For the curved sections, I fit a spline to the profile, but I keep wondering if there was a more expedient way to do it.

I keep referring to the TC manual and in trying the Render Manger, underlay, Import pdf as vector graphics, pdf underlay to objects – all of the options just lead to the basic picture with no points that I could snap to.

Also tried the trace features on the imported pdf or jpg and just get a lot of unconnected lines.

Is there a better way to profile the baluster (or am I using the import options incorrectly)?

Since files don't seem to be uploading to or downloading from the TC forum, I have placed the jpg and pdf in the Public Dropbox folder with the following links:

https://www.dropbox.com/s/2g44m365qmxbl1n/My%20project%282%29.jpg?dl=0
https://www.dropbox.com/s/4epwymydijv9nfs/My%20project%282%29.pdf?dl=0
DC16, TC14, TC17, TC Platinum 2021 & 2022
Dell XPS-8940 - Windows 11 Pro
NVIDIA(R) GeForce RTX(TM) 3060 12GB GDDR6
11th Gen Intel Core i9 11900K
32GB, 16Gx2, DDR4, 2933MHz
3D Printer: Ender 3 V3 SE

Alvin Gregorio

With what you are starting off with as an underlay being a picture--
What you are doing is the only and most efficient way.  Snaps will not work.  Just Zoom in and eyeball, when doing the Polylines, Lines, Splines insertions; then go back and edit their nodes, to replicate as close as possible the baluster in the picture underlay; that'll be good enough.

Use the Meet 2 Lines tool when you inadvertently Snapped a Start or End point of an insertion not to that of a previously-inserted object.
Using Vertex Snap when doing the after-the-first insertion will help ensure all the Start and End points are touching-- coincident.
Use Compound Profile when doing the Revolve.
Only draw half of the baluster-- the bottom edge, the fancy stuff on the outside edge, the top edge, (the center vertical axis).
Make sure their End and Start Points are all connected (coincident) before doing the Revolve.
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)

Steve Edwards

There are two current posts regarding underlay tracing, either from PDF or JPEG files. My experience with a PNG blueprint was similar, initially tracing it by the method Alvin describes. The source being a raster image was placed on a layer I created called "source" and then traced onto a new Layer, in my case Spline by Fit Points using the No Snap method described by Alvin. The resultant trace was good enough to produce a 3D model in TurboCAD.

However, I am by nature someone who can't accept "near enough" and of course snapping by eye to a PNG was always going to have errors, however slight.

So, I found this to convert Raster images into Vector. 

 https://www.vectorizer.io

I processed my blueprint PNG(raster) into a Spline DXF (vector) 

To my surprise it worked extremely well and was able to trace it using Near Point, Vertex, and Intersection Snaps with a degree of precision not achievable by eye.

This is a paid service but, boy did it save a lot of hassle. The program offers lots of options for tidying up the source image and smoothing the vector output. I have only touched the surface of the many options, but I can recommend anyone struggling to accurately trace a PDF. Jpeg, PNG (and other raster formats) to give it a go especially if you are in procession of customer drawings
TurboCAD Platinum 2024
NVIDIA RTX 4000
12th Gen Intel(R) Core(TM) i9-12900K   3.20 GHz
Windows 11 Pro (64)
64 GB RAM
Bambu P1S with AMS

nikkipollard

If you are not willing to pay - Inkscape has a vectorize addon.
Although if you have access to the baluster you could measure and draw it for the best accuracy.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h