Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
CAM in FS
Toshimichi_Oda
OS Professional Posts: 53 PRO
Feature Script で CAM を作りました。
I have made CAM in Feature Script.
Tagged:
8
Comments
G90 G00 X0 Y0 Z100,000
The option that you can suppress the end of the G code with a simple Boolean
Tab 'standardNc.fs' acts as a post-processor in the current version of 'ncout'.
You can output your favorite code by the following:
1. Copy document 'ncout' and name it 'My ncout'.
2. Copy(duplicate) Tab 'standardNc.fs' and name it 'MyNc.fs' in 'My ncout'.
3. Edit 'MyNc.fs.' For Example:
Change (line36): nc += ["%\n",oName,"G90 G00 X0 Y0",{z:definition.retractZ}];
To nc += ["%\n",{z:definition.retractZ}];
4. Click 'Commit' in 'MyNc.fs'
5. Edit 'ncout.fs'
Delete (line4): import(path : "standardNc.fs", version : "...");
click 'Import' (left button of 'Commit').
click 'Feature Studio' in Import dialog.
click 'MyNc.fs'. Then insert a line 'Import(path : "MyNc.fs", ....)'
close Import Dialog by clicking 'x'
6. Click 'Commit' in 'ncout.fs'
7. Change tab 'sampleA'.
You can see a line 'G90 G00 X0 Y0' is omitted in FeatureScript notices.
refer.
https://cad.onshape.com/documents/4de789cbd2134a0300ee5cfe/w/7fc4e8264cb15a37a173fc47/e/6c153c0aa3871cc23c3e84d3
I know it is better that 'ncout' will support PostProcessor functions such as 'MyNc.fs' for many machines and switch them easily.
But I will not release an improved version because only a few people around me use it and Onshape will release CAM this year as all know.