tips:blender

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:blender [2020/04/23 19:41] – [edit mode] scipiotips:blender [2025/05/20 17:23] (current) – [Invert axis X] sscipioni
Line 1: Line 1:
-====== Blender 2.======+====== Blender 2.======
  
 ====== shortcuts ====== ====== shortcuts ======
Line 12: Line 12:
   * SHIFT+s: cursor move or selection move   * SHIFT+s: cursor move or selection move
   * w: cycle between selecion modes   * w: cycle between selecion modes
 +  * 
 ====== numpad emulation ====== ====== numpad emulation ======
  
Line 52: Line 53:
   * c for angle constrain   * c for angle constrain
   * z for cut all deeper edges   * z for cut all deeper edges
 +
 +
 +put vertex same X, Y or Z:
 +  * position the 3d cursor at the Y location
 +  * set the pivot point to the 3d cursor (. period key) 
 +  * then scale by zero on the Y axis (S Y 0)
 +
 +
 +===== blendercam =====
 +
 +Vevor 3018pro [[https://www.vevor.it/macchina-per-incisione-del-legno-c_11142/cnc-3018-pro-500mw-incisore-laser-per-macchine-cnc-per-pelle-legno-efficiente-p_010225409807?srsltid=AfmBOooSvIuTZpKqhFhlQSK2qdvuGtU7zk7UHxy7ozlcZZWoPwid0do4|vevor]] [[https://d37keo26p536wj.cloudfront.net/mdm-goods-service-prod/CNCENGRAVINGMACHINE%E2%80%94%E2%80%94C3A18Pro%EF%BC%882%EF%BC%89_1731322257725.pdf|manual]]
 +
 +
 +<code>
 +cd /lab/blender
 +git clone https://github.com/vilemnovak/blendercam.git
 +</code>
 +
 +edit blender_manifest.toml commenting shapely wheels
 +
 +install system packages
 +<code>
 +yay -S opencamlib python-numba python-shapely
 +</code>
 +
 +setup blender scripts alternate file path
 +
 +{{:tips:paths.png?400|}}
 +
 +save preferences restart blender and enable blendercam add-on
 +
 +{{:tips:blendercam.png?400|}}
 +
 +select CAM render engine in scene tab
 +
 +{{:tips:scene.png?400|}}
 +
 +
 +CAM machine -> add preset '3018pro' with 'iso' post processing
 +
 +{{:tips:machine.png?400|}}
 +
 +CAM operations -> add one operation and select target object
 +
 +{{:tips:operations.png?400|}}
 +
 +
 +CAM material size and position -> put object into job area with position button
 +
 +{{:tips:position.png?400|}}
 +
 +CAM cutter 
 +
 +{{:tips:tool.png?400|}}
 +
 +{{:tips:cutter.png?400|}}
 +
 +CAM operation setup -> strategy parallel and **skin** 
 +
 +{{:tips:skin.png?400|}}
 +
 +header gcode to increase velocity [[https://www.amazon.it/Genmitsu-GS-775M-775-serraggio-elettrico/dp/B08DTHDSMV/ref=sr_1_1|spindle motor Genmitsu GS-775M 775]] to 7000 (it double velocity x2)
 +<code>
 +M03 S1000
 +G4 P0.5
 +M03 S2000
 +G4 P0.5
 +M03 S3500
 +</code>
 +
 +<code>
 +M03 S1000;G4 P0.5;M03 S2000;G4 P0.5;M03 S3500
 +</code>
 +
 +Hey! Apologies for Necro'ing this thread but I think I have the exact same board and machine as you, and was running into the exact same problem. I don't know if you wound up solving your problem, but the change that worked for me was two fold:
 +  * twist the spindle wires together between the motor and the board, adding a shield if necessary (I eventually removed the shielding when I accidentally damaged it)
 +  * solder a 0.1uF ceramic capacitor (make sure it is bidirectional!!!) between each terminal of the spindle motor to the spindle motor body itself. Ideally, you would also solder a third capacitor between each motor terminal, but I did not do so and have not yet had the random dropouts I did before.
 +
 +Hi guys, after long time dealing with exactly the same problem I figured out that the power supply of mine 3018 is insulation class type II, it means that there is no connection of the CNC ground to net ground, so the entire frame/circuit is "floating". Also, there was no connection between the controller board ground and the frame. It makes it very sensitive to electric noise! So I installed a **ground wire fixed from the frame to the controller** board AND a **connection from the frame to the nets** ground and all problems desapeared. So instead os be changing cables, installing pullups and pulldowns or changing configurations my recomendation is "make sure it is all ground connected. 
 +
 +
 +==== Block operation ====
 +
 +{{ :tips:block.png?400 |}}
 +
 +==== Invert axis X ====
 +
 +<code | download>
 +(sets X-axis direction invert mask)
 +$3=5
 +
 +( save your settings )
 +$10=255
 +
 +(To Revert Back)
 +$3=4
 +( save your settings )
 +$10=255
 +
 +(go home)
 +G00X0Y0Z1
 +</code>
 +
  • tips/blender.1587663681.txt.gz
  • Last modified: 2020/04/23 19:41
  • by scipio