How do you wrap a 2D design on the curved face of a 3D solid?

How do you wrap a 2D design on the curved face of a 3D solid?

dzine14uX56UM
Contributor Contributor
3,813 Views
17 Replies
Message 1 of 18

How do you wrap a 2D design on the curved face of a 3D solid?

dzine14uX56UM
Contributor
Contributor

I have a client with a unique cup design.  He has a logo and face design he wants added to the curved cup face and raised by 1mm from the cup surface.  What is the best way to do this?  I am an advanced AutoCAD user for 35 years but this is a new one for me.

 

Chuck

0 Likes
Accepted solutions (2)
3,814 Views
17 Replies
Replies (17)
Message 2 of 18

VincentSheehan
Advisor
Advisor

One way is to align the logo with the side of the cup and use the Project to View tool under the Surface tab, Project Geometry panel. (_PROJECTGEOMETRY)

 

FYI, the project objects will be a spline.

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

0 Likes
Message 3 of 18

dzine14uX56UM
Contributor
Contributor
Will this project and WRAP to the curved face of a solid?
Charles Altmix
0 Likes
Message 4 of 18

VincentSheehan
Advisor
Advisor

I drew a cup shaped object then a 2D outline to project on the cup. This is the result. It converts the 2D lines to splines.

 

Projection.PNG

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

0 Likes
Message 5 of 18

dzine14uX56UM
Contributor
Contributor

Vincent,

 

That is incredible!  It appears, though, that it may warp the original lines as it wraps around.

 

Next question?  Can that spline be extruded inward or outward to create a raised or depressed surface to the cup?  That is ultimately my goal.  I wish there were a way to curve the design around the cup without distortion then extrude.

 

0 Likes
Message 6 of 18

leeminardi
Mentor
Mentor

Projecting the 2D geometry in a straight line will distort the shape.  For example,

here's a uniform stair step pattern in front of a simple cup.

  

leeminardi_0-1709566300869.png

Here's the result of PROJECTGEOMETRY.  The green line is the projection.

leeminardi_1-1709566409250.png

Note the distortion and how it gets worse near the edges of the cup.

 

Is the cup design a revolved shape or somethig more complex?

 

What is your end goal.  A 3D model that can be 3D printed or a good looking picture?

If the latter I would consider using 3ds Max and the UVW Unwrap feature.

 

 

lee.minardi
0 Likes
Message 7 of 18

dzine14uX56UM
Contributor
Contributor

I tried this...it does distort the projection so this is not a valid solution to my dilemma.  Is there a way to "wrap" the 2D linework?

0 Likes
Message 8 of 18

VincentSheehan
Advisor
Advisor

You can either join the splines together or use to the spline to polyline command (SPLINEDIT) to create a closed shape then use the tools to extrude the shape.

Vincent Sheehan

Sr. Civil Designer
Poly In 3D Blog

0 Likes
Message 9 of 18

parkr4st
Advisor
Advisor

as in the attached.  draw two of your bowls, on fits inside the other tight.  I did not do two, only the outer one.

draw the shape, extrude and use INTERFERE on the outer bowl.  Those are the risen object.  union them to the bowl surface not interfered.  

for indent, two bowls, coincide outer skins, one 1/2 thick (or desired depth) as the other to get the result and subtract from the full thickness bowl.  

IMHO   The difficult part is to get the outline correct for the shape of desired emboss or indent.

0 Likes
Message 10 of 18

leeminardi
Mentor
Mentor

If you are going to use projectgeometry or extrude outlines by other you should modifiy the shape of the 2D geometry you are going to in effect project to compensate for the distortion as it lands n the revolved geometry.

 

In the following I created a 5 x 5 polyline grid with a vertex at each intersection (the selected geoemtry).  Using the strech command I moved the vertices of each column by a calculated value based on the radius of the cylinder I intended to use and the subtended angle I wanted the grid to fill (in this example the angle was 0 to 50°).  The green grid is the result.

The red lines are the result of using projectgeometry of the green gris onto the yellow cylinder.  As you can see the red grid looks free of distortion.

 

leeminardi_0-1709578205416.png

You should also compensate if there is a significant radius change with vertical displacment of the cup for the area that will receive the projection.

I created a simple spreadsheet to calculate the displacement values used by the stretch command.

 

You might also consider redrawing the logo on the distorted grid and then just project that shape.

 

lee.minardi
0 Likes
Message 11 of 18

autoid374ceb4990
Collaborator
Collaborator

Could you post a dwg file of the "logo and face design" and the cup to which it will be attached?

0 Likes
Message 12 of 18

dzine14uX56UM
Contributor
Contributor

The simple cup model and  2D face attached.  If there were only a way to take a 2D geometry block and curve it.  Then you could simply extrude the shapes and either attach them to the cup or subtract as needed.

0 Likes
Message 13 of 18

dzine14uX56UM
Contributor
Contributor

Still no acceptable solution to my problem. (See my last post with cup and face logo).  I want to add the face wrapped around the cup then either extrude to raise or depress the logo (subtract) to create something you can feel in your hand.  The purpose is to have these 3D printed.

 

I thought that this would be difficult but doable.  The solutions posted warp the image and will not provide the desired results.  If someone has the wizardly answer to make this work please let me know.  Thank you!

0 Likes
Message 14 of 18

leeminardi
Mentor
Mentor

I modified the 2d face geometry using the grid I discussed in an earlier post and then projected the results to the cup.  This resulted in a airly good "wrap".  I did the mark to the right of the brow separately. 

leeminardi_0-1709735105312.png

leeminardi_1-1709735171084.png

My plan was to then make surfaces  from the wrapped lines. thicken them and subtract from the cup.  This proved problematic as it is difficult in AutoCAD to use 3D splines to define a surface.  In addition, AutoCAD's subtract has difficulties with the Booelan regularization step  (when surfaces are coincident) resuting in errors.

 

In addition, it is unclear how to handle the "raise 1mm" requirement for the eyes which consist of 3 distinct areas.

leeminardi_2-1709735596233.png

If area 1 is raised 1 mm then  should area 2 not be raised at all? what about area 3?

It would be helpful if you supplied a drawing with closed splines that define each of these area.

 

With AutoCAD's difficulty  doing Boolean subtracts with small penetrations I suggest creating multiple concentric cups with a wal thickness of 1mm.  Extruded shapes then can be subtracted from the appropiate set of these cups to get the relief affect you seek.

 

lee.minardi
Message 15 of 18

parkr4st
Advisor
Advisor

more information please

you have a flat jpg image that goes on the surface of a truncated cone.

in the attached dwg, the angle of the side of the cup off vertical is 4.76364 degrees?

on the jpg is three lines; extreme left, right and red line centered between the two.  

do you want to hold the verticle dimension on the cup surface on the red line? and where on the elevation of the cup?

where is the horizontal dimension to hold i.e the magenta line

and other horizontal dimensions can or cannot change?

hold only the magenta the image will be tapered. ok?

or not?

The horizontal distance becomes an arc around the cup side centered on a vertical line on the side of the cup.

THis is not difficult. just to many possibilities as solutions without the info.

tip the jpg up to align with the cup on the center line tipped 4.76364 degrees off from vertical, and put it vertically on the cup where it belongs.

envision wrapping it around the cup.  what can give and take and what cannot.

after that the 3d can be dealt with.

 

0 Likes
Message 16 of 18

dzine14uX56UM
Contributor
Contributor
Accepted solution

The solution came to me in a moment of brilliance!  It looks excellent!  (See attachment)  I do thank you all for your help.  It was your help that lead me to the solution.

 

Here are the steps I took using projectgeometry that minimized the distortion and make the design appear as the original as close as possible:

 

1) I moved the blue 2D to where just the eye and brow on the left was exactly centered on the cup and projected just that eye.

2) I rotated the projected eye geometry on the axis of the cup center, moved the blue 2D to center just the eye and brow on the right was centered on the cup and projected just that eye.

3) I did the same separately for the mouth and the mark on the right.

4) Treating them as 4 separate pieces, I just rotate each group on the center cup axis to where they look proportionate to the original 2D blue geometry.

5) Problem solved.

0 Likes
Message 17 of 18

autoid374ceb4990
Collaborator
Collaborator

One of your posts stated that you wanted an indented or raised design.  How to you plan to implement that?  I used a parametric design program called "OpenSCAD", imported your design and produced the attached model.

0 Likes
Message 18 of 18

dzine14uX56UM
Contributor
Contributor
Accepted solution

Attached is my final result all in AutoCAD.   I ditched the projectgeometry command because you cannot extrude a spline.  So I used a similar method of extruding the shapes vs projecting them.  I am satisfied with the final result.

 

Design is raised 3/64" from cup surface.

 

Chuck Altmix. Owner

Cutting Edge 3D Technologies

www.cuttingedge3dtech.com