CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
February 22, 2020, 06:17:39 am


Login with username, password and session length


Pages: 1 2 [3]
  Print  
Author Topic: Trying out drawing on paper with my CNC. I can't seem to get CB to work.  (Read 1839 times)
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 4142



View Profile
« Reply #30 on: December 09, 2019, 17:13:48 pm »

Bill,

"ubiquity" provided a link to a useful video; https://www.youtube.com/watch?v=rH6HD1M_Qb4
For our purpose, the recommended MOPs were, Engrave for lines and a Cross Hatch fill for coloured areas, essentially using Engrave again, endmill size 1/16" to match pen tip.

I have attached a sample cb file.

1. Install the Hatch plugin; http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/Hatch_EN.html
2. Using CamBam v1, menu item, Draw->Bitmap , navigate to dog image and Open.
3. Resize as required
4. Select the bitmap then set, Display Bitmap = false, Display Vectors = true
5. Create a new Layer called in the example, "Spline Drawn Regions" then use, Draw->Spline to draw around areas to be filled.
6. Create a new layer called in the example "Hatch Regions"
7. Select those splines then, Draw->Hatch,  use ANSI37, angle = 0, size = 0.75
8. Create an Engrave MOP and for the primitive ID's select the bitmap and all the Regions in layer "Hatch Regions"

Depending upon the pen tip width you will have to adjust some of the parameters to suit.

The main problem is, what is a line ? and what is filled ?, i.e. lines in the jpg image have "width" and that's why two lines are produced by Inkscape etc.

* dog3.cb (202.36 KB - downloaded 22 times.)

* dog3_sim.jpg (149.17 KB, 979x1102 - viewed 50 times.)
« Last Edit: December 09, 2019, 17:23:02 pm by EddyCurrent » Logged

Made in England
huntleybill
Storm Trooper
***
Offline Offline

Posts: 176


View Profile
« Reply #31 on: December 09, 2019, 22:43:14 pm »

OMG! I have to try this. Thank you. Between this and David's explanation, this might just do the trick!

I went through the steps and it sure looks like it will work. UCCNC seems to  like it. It shows the areas filled in. Looking forward to trying this out on the CNC tomorrow.

Thank you so much.
Bill



* dog with hatch.JPG (116.64 KB, 1357x692 - viewed 58 times.)

* dog.JPG (120.08 KB, 1321x705 - viewed 55 times.)
« Last Edit: December 09, 2019, 23:46:34 pm by huntleybill » Logged
huntleybill
Storm Trooper
***
Offline Offline

Posts: 176


View Profile
« Reply #32 on: December 11, 2019, 15:25:10 pm »

Yup ... It worked! I used a jpg file so that is why it is squiggly, but some fine tuning of bit size etc. and I think we can call this a win!

Thank you all again for your help with this.



* thumbnail (1).jpg (88.45 KB, 810x1080 - viewed 50 times.)
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 4142



View Profile
« Reply #33 on: December 11, 2019, 15:43:38 pm »

Very good ! positive results, feedback to that effect make it all worthwhile  Grin
« Last Edit: December 11, 2019, 18:33:46 pm by EddyCurrent » Logged

Made in England
lloydsp
CNC Jedi
*****
Offline Offline

Posts: 8138



View Profile
« Reply #34 on: December 11, 2019, 16:16:39 pm »

Yep, good job!  And thank you for following-up with your results.

Lloyd
Logged

"Pyro for Fun and Profit for More Than Fifty Years"
dh42
Administrator
CNC Jedi
*****
Offline Offline

Posts: 5756



View Profile WWW
« Reply #35 on: December 11, 2019, 16:38:04 pm »

Hello

Nice !  Grin

Quote
I used a jpg file so that is why it is squiggly

To remove the stairs, if you're using the CamBam Bitmap object, you can set a smooth value.

If the picture has been digitized on another soft, you can smooth the stairs with the following plugin.

http://www.atelier-des-fougeres.fr/Cambam/Aide/Plugins/PolylineSmooth.html

++
David
Logged
EddyCurrent
CNC Jedi
*****
Offline Offline

Posts: 4142



View Profile
« Reply #36 on: December 18, 2019, 13:25:27 pm »

Have a look at this; https://www.evilmadscientist.com/2016/axidraw-v3/
it might give some clues to improve the CamBam method.
Logged

Made in England
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.134 seconds with 20 queries.

Copyright © 2018 HexRay Ltd. | Sitemap