Author Topic: Engraving on uneven surfaces  (Read 25565 times)

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7121
    • View Profile
    • Cambam V1.0 French Doc
Engraving on uneven surfaces
« on: March 22, 2011, 20:57:08 pm »
Hello,

If you are a user of 3DS Max or GMax (free 3DS Max), this thread can be useful to you for engraving on uneven surfaces.

The goal is to project splines or texts on a 3D object to obtain new splines that follow the surface of the 3D object.

you must first download and unzip the attached file that contain two script for 3DSmax/Gmax (all versions) called "refine_spline1.2.ms" and "Wrapper1.03.ms".

After unzip you can store this files in the script directory of Max.

Run max and create/load a 3D Mesh, then write some text or draw splines.
The 2D shapes must be at a positive Z position.



The Wrapper script converts all arcs to lines, and you must have a very detailed shape to get a good result (Wrapper don't add control points).

You must first use "refine spline" to obtain a detailed shape.

I convert the text in spline before, but it's just to show the control points. …. there are not enough





I must refine the spline.

Use the MaxScript main menu and select Run script, then browse to the directory you have stored the two scripts and open "refine spline"



Clic on "pick shape to refine" and select the spline you want to refine.



You get some info about vertices and segments.

set a suitable value in each 3 rolout and clic "Refine picked Shape"

you can compare the result to the original spline.



sometimes, on strait lines, you get long segment that must be manually refined.



In edit mode, select the segments and use the "divide" button after setting the number of vertices you want. (20 here)





Refine is done, and now I can wrap the spline on the surface.

Use the MaxScript main menu and select "Run script", then browse to the directory you have stored the two scripts and open "Wrapper"




Wrapper is very easy to use, click on the "Pick" button below "Source object" and pick the spline, then do the same thing to pick the mesh with the second pick button, select "Conform to surface" and clic on GO to run calculation.

You get a new wrapped spline on the 3D surface, the original spline is not altered.

the result



I do the same thing with the second text, then I must save 2 different files for use in Cambam.

The spline must be exported alone in DXF format (autocad R12), and the 3D mesh must be exported in STL or 3DS format WITHOUT the splines (you must hide the surface or the splines before save, or use the save selected option in the DXF/STL exporter)

Use the File/export menu to do this.



You can now open the two files in Cambam, first open then DXF



Then use Draw/Surface/From mesh file to insert the 3D mesh.



Now, you can set an engraving MOP to your texts




a CutViewer simulation






Maybe a way to do this directly in Cambam in the future ... ?

++
David


« Last Edit: March 22, 2011, 22:55:32 pm by dh42 »

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8787
    • View Profile
Re: Engraving on uneven surfaces
« Reply #1 on: March 22, 2011, 21:17:45 pm »
David,

Could you please reduce that entire thing to a tutorial .pdf?  I save "important" descriptions from this forum, and yours have been extremely valuable to me.

Thanks,

LLoyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7121
    • View Profile
    • Cambam V1.0 French Doc
Re: Engraving on uneven surfaces
« Reply #2 on: March 22, 2011, 21:29:53 pm »
Ok, no problem .... wait a minute  ;)

++
David

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7121
    • View Profile
    • Cambam V1.0 French Doc
Re: Engraving on uneven surfaces
« Reply #3 on: March 22, 2011, 21:53:00 pm »
the PDF  ;)

PS, I never use Gmax, only 3DSmax, let me know if that work well on Gmax too.

++
David
« Last Edit: March 22, 2011, 22:56:51 pm by dh42 »

Offline blowlamp

  • CNC Jedi
  • *****
  • Posts: 1192
    • View Profile
Re: Engraving on uneven surfaces
« Reply #4 on: March 22, 2011, 22:54:26 pm »

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7121
    • View Profile
    • Cambam V1.0 French Doc
Re: Engraving on uneven surfaces
« Reply #5 on: March 22, 2011, 23:04:05 pm »
Hello Martin,

A good soft this VIA CAD, did you know if they are localized version of it ?

++
David

Offline blowlamp

  • CNC Jedi
  • *****
  • Posts: 1192
    • View Profile
Re: Engraving on uneven surfaces
« Reply #6 on: March 22, 2011, 23:17:41 pm »
Hi David.
I'm sure it is available in most languages and I'm certain it's available in French.
See here for an example. http://screencast.com/t/P8Kdklmr


Martin.

Offline lloydsp

  • CNC Jedi
  • *****
  • Posts: 8787
    • View Profile
Re: Engraving on uneven surfaces
« Reply #7 on: March 22, 2011, 23:40:45 pm »
Thanks, both David and Martin.  Those are good examples.

LLoyd
"Pyro for Fun and Profit for More Than Fifty Years"

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 7121
    • View Profile
    • Cambam V1.0 French Doc
Re: Engraving on uneven surfaces
« Reply #8 on: March 22, 2011, 23:45:23 pm »
Ok, I find it in French ....

thanks Martin

++
David

Offline lazer

  • Storm Trooper
  • ***
  • Posts: 201
    • View Profile
Re: Engraving on uneven surfaces
« Reply #9 on: March 23, 2011, 01:18:53 am »
Hi David

Wait in April a new version of ViaCAD Pro 7 is an excellent software.
Do not buy now, request information by email, do not install now!

Martin, I'm very sad with "Punch!", you read my comment in the forum?

Armando
lazer = leisure -- Sorry my English

Offline blowlamp

  • CNC Jedi
  • *****
  • Posts: 1192
    • View Profile
Re: Engraving on uneven surfaces
« Reply #10 on: March 23, 2011, 08:20:08 am »
Armando.
You mean about the coordinates being cut off the screen?

Martin.

Offline lazer

  • Storm Trooper
  • ***
  • Posts: 201
    • View Profile
Re: Engraving on uneven surfaces
« Reply #11 on: March 23, 2011, 11:14:22 am »
Hi Martin

Also is it!
When sending mail and they are blocked.
Customer When value.  ???
http://forum.punchcad.com/showthread.php?t=3642

Armando
lazer = leisure -- Sorry my English

Offline blowlamp

  • CNC Jedi
  • *****
  • Posts: 1192
    • View Profile
Re: Engraving on uneven surfaces
« Reply #12 on: March 23, 2011, 12:38:37 pm »
Hi Armando.
Just send Tim an email asking him to send you ViaCAD Pro build 856, along with the software serial number.

tim.olson@evo-soft.net

If you want to be a beta tester for ViaCAD Pro 7, then go here

http://www.punchcadlabs.com/page5/page5.php

As for your missing coordinates, I think you might need another monitor or graphics card with more resolution :'(


Martin.
« Last Edit: March 23, 2011, 12:54:37 pm by blowlamp »

Offline lazer

  • Storm Trooper
  • ***
  • Posts: 201
    • View Profile
Re: Engraving on uneven surfaces
« Reply #13 on: March 23, 2011, 18:25:04 pm »
Martin

I already have Build856.
The problem is blocking the emails:
techsupport@punchcad.com
customercare@punchcad.com

I have to buy a new monitor is absurd!
Imagine Andy change the resolution to 1280X768 in CamBam?
Andy will lose customers not is crazy?
I do not speak for evil.

Armando
lazer = leisure -- Sorry my English

Offline blowlamp

  • CNC Jedi
  • *****
  • Posts: 1192
    • View Profile
Re: Engraving on uneven surfaces
« Reply #14 on: March 23, 2011, 19:09:01 pm »
Armando.
I can't think of any solution to this due to the screen layout in ViaCAD.
The lowest resolution I can get that still displays the coordinates is 1152 x 864.

Have you tried the email address in my previous post to contact Tim?


Martin.