News:

Please remember to do a search before you ask a question!

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.

Best Way to Place or Wrap Moon & Star Shapes onto Conical Surface?

Started by Chachin, September 05, 2019, 11:54:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chachin

Greetings,

I'm designing a simple magician's hat and am looking for advice as to how to best wrap the moons and stars onto the conical surface.

1)  Is there a way to place or wrap the single moon extrusion (shown in picture below) onto the conical surface?  Maybe a bend with changing radius?

2)  If option 1 is too difficult, then what is the best way of wrapping the shown flat image onto the conical surface without distortion or white spots?
     Note:  I had partial success by Facet Editing the conical surface and applying a texture that was linked to the moons and stars picture in the screenshot below.  However, the image is getting distorted and the unwanted white areas are showing.

Any help or advice is greatly appreciated.  I'm using TurboCAD ProPlatinum 2015.

Thank you.

Chachin..
TurboCAD Pro Platinum 2015 & 2020.
Live debt-free.

Henry Hubich

I fiddled with that problem several years ago; my solution was to write a VisualBasic applet that would modify a given image into a form that would wrap onto a cone without distortion using Cylindrical wrapping. I'll try to dig it out, but I'm not feeling optimistic.

A sample result is attached.

Henry H

John R

You might try the UV Mapping tool. See the UV Mapping section in the 2015 Help and its sub-sections.
John R.

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

Alvin Gregorio

I did it in 3D.
It's not perfect.  If I had another go at it I could not only do it a lot faster, but I would also make the stars and moons stick out less (they're about 1/8" now).

Good brain exercise...
Gotta go!  First NFL game of the season is about to start!
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

Quote from: Alvin Gregorio on September 05, 2019, 05:16:16 PM
I did it in 3D.
It's not perfect.  If I had another go at it I could not only do it a lot faster, but I would also make the stars and moons stick out less (they're about 1/8" now).

Good brain exercise...
Gotta go!  First NFL game of the season is about to start!

Yup. For such a relatively simple pattern I agree that 3D is the way to go.

Henry H

Chachin

Wow Alvin!  That's exactly what I'd like to accomplish!  And it looks awesome!

I am here trying to reverse engineer your steps, but still can't figure it out... what steps did you follow if you don't mind me asking?

Chachin..
TurboCAD Pro Platinum 2015 & 2020.
Live debt-free.

AussieBloke


Chachin

Did it go something like this?
- Divide the unfolded 2D cone into 16 equally spaced sections with radial lines that then serve as a grid map to place the 2D stars and moons all around and tangent to the conical 3D surface.
- Extrude (both ways) each of the stars and moons.
- Model a slightly larger inverse cone and use it to subtract the excess material from each of the stars and moons.
- Add the original 3D cone with the 3D stars and moons.
- Remove the internal material of the 3D cone.

Is that about right?  I ran out of time today, but I will try it myself tomorrow (or Saturday) and report back.

Chachin..
TurboCAD Pro Platinum 2015 & 2020.
Live debt-free.

Alvin Gregorio

Quote from: Chachin on September 05, 2019, 08:20:19 PM
Did it go something like this?
- Divide the unfolded 2D cone into 16 equally spaced sections with radial lines that then serve as a grid map to place the 2D stars and moons all around and tangent to the conical 3D surface.
- Extrude (both ways) each of the stars and moons.
- Model a slightly larger inverse cone and use it to subtract the excess material from each of the stars and moons.
- Add the original 3D cone with the 3D stars and moons.
- Remove the internal material of the 3D cone.

Is that about right?  I ran out of time today, but I will try it myself tomorrow (or Saturday) and report back.

Chachin..

That's "about right"...  That's in the direction of how I did it.  Not to say my way is the only or best way.
All I really did was use a little bit of TurboCAD experience and knowledge (I'm an intermediate-level TurboCADer), and a bit more thinking.

The way I went about it is pretty simple... basic... but a bit tedious.
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

For a completely different approach, see "Another 'Warp by Law' application" in the Tips and Tricks section.

Henry H

Chachin

Cool, got it to work.

The first screenshot below shows the "grid-map" I used to size and place the 2D shapes around the cone (tangent to surface).  This was the most tedious part but it worked.  The 2nd screenshot is a quick render of what I am intending to fabricate.

I will be 3D printing these next and adding the stars and moon shapes with vinyl decals. So this model is pretty accurate in that the stars and moons will be raised just above the conical surface.

Chachin..
TurboCAD Pro Platinum 2015 & 2020.
Live debt-free.

Chachin

By the way John R, while looking into the UV mapping tool, in the 2015 User's Guide, I noticed that I do not show the "Wrapped Image" option under my Shader (ref. screenshot below).  This may be the reason I couldn't get the UV mapping to work.  I also have not found the "Pattern" section which seems to be related to the "Wrapped Image" option.

Any idea what I could be doing wrong on that end?

Chachin..
TurboCAD Pro Platinum 2015 & 2020.
Live debt-free.

Alvin Gregorio

Quote from: Chachin on September 07, 2019, 07:35:59 AM
Cool, got it to work.

The first screenshot below shows the "grid-map" I used to size and place the 2D shapes around the cone (tangent to surface).  This was the most tedious part but it worked.  The 2nd screenshot is a quick render of what I am intending to fabricate.

I will be 3D printing these next and adding the stars and moon shapes with vinyl decals. So this model is pretty accurate in that the stars and moons will be raised just above the conical surface.

Chachin..


Good deal.  Good looking renders.

I worked on it some yesterday-- a curious mind with time never rests.  It's a shame we can't get the extruded stars and moons to "wrap" conically*-- basically doing the opposite of what Unfold Face does.
Because, by utilizing this Extrude/Subtract method,** we are really compromising the reality of what would be happening with the appliques in the real/physical world-- bending around the conical surface, but essentially maintaining their original size.

___________
  *Henry's suggested use of Warp by Law seems to be a viable method.
**(I came to realize that 3D Intersecting the extruded shapes with a Shelled conical object would have also worked)
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)

John R

Quote from: Chachin on September 07, 2019, 07:56:44 AM
By the way John R, while looking into the UV mapping tool, in the 2015 User's Guide, I noticed that I do not show the "Wrapped Image" option under my Shader (ref. screenshot below).  This may be the reason I couldn't get the UV mapping to work.  I also have not found the "Pattern" section which seems to be related to the "Wrapped Image" option.

Any idea what I could be doing wrong on that end?

Chachin..

"Pattern" is the first section of the 5 different sections.

  • Pattern (color)
  • Reflectance
  • Transparency
  • Texture (displacement)
  • Wrapping
Seeing what the ultimate outcome is to be, UV Mapping really wouldn't be helpful here. I'd probably go with the 3D Subtract / Intersect route.
John R.

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

murray dickinson

Quote from: Alvin Gregorio on September 07, 2019, 09:54:16 AM

I worked on it some yesterday-- a curious mind with time never rests.  It's a shame we can't get the extruded stars and moons to "wrap" conically*-- basically doing the opposite of what Unfold Face does.
Because, by utilizing this Extrude/Subtract method,** we are really compromising the reality of what would be happening with the appliques in the real/physical world-- bending around the conical surface, but essentially maintaining their original size.

___________
  *Henry's suggested use of Warp by Law seems to be a viable method.
**(I came to realize that 3D Intersecting the extruded shapes with a Shelled conical object would have also worked)

I've been fooling around with a heightfield generator, a pretty well-known free program called ZSurf4, I suggested it to build terrain in another recent thread, but it has other interesting capabilities, including the potential for this.  It can superimpose one heightfield map onto another, onto parametric primitives: inclined planes, spheres, cylinders, toruses (yeh yeh torii if that's a thing), ellipsoids and, although I haven't actually tried this, formulaic surfaces.  It's also got a 3D text string generator that can apply the strings to these surface shapes.   So, although it hasn't got a cone primitive, formula conics or a bitmap of one should be easy.  The pic is of a sample rhino heightfielded onto cylindrical and toroidal surfaces and a text string, in Shark because it shows better than TC.   A lot could be done with a small bit of imagination.

Henry Hubich

Quote from: murray dickinson on September 07, 2019, 05:51:49 PM
Quote from: Alvin Gregorio on September 07, 2019, 09:54:16 AM

I worked on it some yesterday-- a curious mind with time never rests.  It's a shame we can't get the extruded stars and moons to "wrap" conically*-- basically doing the opposite of what Unfold Face does.
Because, by utilizing this Extrude/Subtract method,** we are really compromising the reality of what would be happening with the appliques in the real/physical world-- bending around the conical surface, but essentially maintaining their original size.

___________
  *Henry's suggested use of Warp by Law seems to be a viable method.
**(I came to realize that 3D Intersecting the extruded shapes with a Shelled conical object would have also worked)

I've been fooling around with a heightfield generator, a pretty well-known free program called ZSurf4, I suggested it to build terrain in another recent thread, but it has other interesting capabilities, including the potential for this.  It can superimpose one heightfield map onto another, onto parametric primitives: inclined planes, spheres, cylinders, toruses (yeh yeh torii if that's a thing), ellipsoids and, although I haven't actually tried this, formulaic surfaces.  It's also got a 3D text string generator that can apply the strings to these surface shapes.   So, although it hasn't got a cone primitive, formula conics or a bitmap of one should be easy.  The pic is of a sample rhino heightfielded onto cylindrical and toroidal surfaces and a text string, in Shark because it shows better than TC.   A lot could be done with a small bit of imagination.

Murray, what's a heightfield map?

Henry H

murray dickinson

It's a surface with Z coordinates that correspond to the 255 increments of a greyscale image, Henry.   RGB colours have differing numbers for each primary, red, green and blue, but greyscales have the same value for each between 0, which is black, and 255, which is white.  For monochome black and white images, the white is highest and black is base.   For mesh heightfield generators, there's a hard edge between base, then vertical facets, then the top face.  ZSurf4 (and its predecessors, I suppose, although I never found or used them), because it's producing nurbs surfaces,  has softening functions between colour gradients, so even monochrome black and whites don't have vertical slopes between base and top.  ZSurf requires input as a 24-bit or 32-bit true colour converted to greyscale bitmap, but the Shark/TCMac/ViaCAD PowerPack tool accepts any picture, coloured or not, and converts it to grayscale itself.  I went back and read the help file about the formula surfaces, but although they're a menu item, they haven't been implemented yet.  If you wanted to use a formula surface as a base for the image or text, you'd have to generate the surface in TC or other CAD, then use something like a topographic gradient colouring tool (maybe TC Civil has something like that capacity), generate a grayscale from the graduated image and use it as a basesurf in ZSurf.  Heightfield generators are usually used to make cameo reliefs for CNC carving or engraving, raised letters draped over other surface forms or shapes like these stars and crescents about a cone, another use that occurs to me is for architectural embellishments, because you could sketch and colour things like fleur de lis, then give them relief in a generator.  ZSurf is a program-agnostic way of doing that. I was reading a SolidWorks expert's description of how he'd done it in that program, and it does call for specific expertise, while ZSurf is accessible. 

Chachin

I agree Alvin, this 3D modeling method stretches out the shapes some, which makes it that much unrealistic.  But it still worked out great for my intended purposes, so THANK YOU for your quick thinking!

John thank you as well for your help and breaking down those fields for me.  It makes a lot more sense now.  I see that I have those field options available only under LightWorks, which I haven't messed around with much.  I'll try the UV mapping again using LightWorks to see if I can get the 2D image wrap method to work on the conical surface (a very valuable skill to develop).

The Wrap by Law method suggested by Henry sounds like the right solution.  I'll play with that one when I upgrade to a newer version of TurboCAD.

Thank you Murray and everyone for sharing your valuable knowledge and experience to help me figure this out.  I am looking into each suggested option as time permits.  Below is a quick picture of the 1st prototype I made today of the magician/wizard hat.  If all goes as planned, then this will make someone real happy soon.

Carlos (Chachin..)
TurboCAD Pro Platinum 2015 & 2020.
Live debt-free.