Incorrect path orientation, when path created from rotated sketch

Here's the place for discussion related to CAM/CNC and the development of the Path module.
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: Incorrect path orientation, when path created from rotated sketch

Postby chrisb » Mon Dec 11, 2017 12:44 am

GeneFC wrote:
Sun Dec 10, 2017 11:18 pm
That may be true, but it does not change the fact that multiple bodies were not "allowed" in version 0.16 and they are not "allowed" in version 0.17. Yes, it is possible to beat the system, as has been discussed many times in the help forum.
I am afraid you are wrong here: The whole concept of 0.17 PDN is how to organize several bodies. I have used them and I did no tricks at all. It is not allowed to have multiple solids within one body, and in 0.17 this is in fact prohibited.

Besides that, you are of course right, it would be great if Path WB could handle multiple bodies in one Job. It might be possible if you put them in a compound. I will try that tomorrow.
GeneFC
Posts: 1025
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Incorrect path orientation, when path created from rotated sketch

Postby GeneFC » Mon Dec 11, 2017 3:57 pm

Sorry, I used the wrong term. I meant to say "Separate Objects", not "Bodies".

Yes, of course multiple bodies are allowed in 0.17.

I still contend it is bad practice, and possibly fruitless, to try to fix a "Path" issue that may result from an incorrect model.

Gene
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: Incorrect path orientation, when path created from rotated sketch

Postby chrisb » Mon Dec 11, 2017 8:45 pm

GeneFC wrote:
Mon Dec 11, 2017 3:57 pm
I still contend it is bad practice, and possibly fruitless, to try to fix a "Path" issue that may result from an incorrect model.
And here we completely agree.
filipp.sudanov
Posts: 4
Joined: Fri Dec 08, 2017 7:16 pm

Re: Incorrect path orientation, when path created from rotated sketch

Postby filipp.sudanov » Tue Dec 12, 2017 5:44 pm

chrisb wrote:
Sun Dec 10, 2017 6:44 am
The model has probably been created in 0.16.
Actually, the original model was created in 0.15 (Version: 0.15.4671 (Git)) - the stable version from Ubuntu repos. Then imported into 0.17 for path creation.
filipp.sudanov
Posts: 4
Joined: Fri Dec 08, 2017 7:16 pm

Re: Incorrect path orientation, when path created from rotated sketch

Postby filipp.sudanov » Tue Dec 12, 2017 5:59 pm

mlampert wrote:
Sat Dec 09, 2017 4:39 pm
So, regardless if you changed the Placement of your Part, you can modify the Placement of the Base-object clone at any time to suit your needs. You can do that manually in the property editor, use any tools from the Draft WB or the minimal tools we created in the Job editor. In the Setup tab the buttons under "Orientation" and "Alignment" can be used to rotate and move the Base-object clone and the Stock object.

Note that depending on how you change the Placement of the Base-object clone it will be (badly) misaligned with the originally created Stock object. In order to sync the two again, either also change the Placement of the Stock object, or you can temporarily select a different Stock and then switch back to the one you want - which, upon creation, will be aligned with the current Placement of the Base-object clone.
Yes, changing angle for the Base-Pad object helped instantly.
By the way, is there any place, where the main concepts of Freecad's path module would be described - what is Job, Base-..., Stock, SetupSheet, etc? Without much detail, just the overall philosophy of the process :)
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: Incorrect path orientation, when path created from rotated sketch

Postby chrisb » Tue Dec 12, 2017 10:47 pm

filipp.sudanov wrote:
Tue Dec 12, 2017 5:59 pm
mlampert wrote:
Sat Dec 09, 2017 4:39 pm
So, regardless if you changed the Placement of your Part, you can modify the Placement of the Base-object clone at any time to suit your needs. You can do that manually in the property editor, use any tools from the Draft WB or the minimal tools we created in the Job editor. In the Setup tab the buttons under "Orientation" and "Alignment" can be used to rotate and move the Base-object clone and the Stock object.

Note that depending on how you change the Placement of the Base-object clone it will be (badly) misaligned with the originally created Stock object. In order to sync the two again, either also change the Placement of the Stock object, or you can temporarily select a different Stock and then switch back to the one you want - which, upon creation, will be aligned with the current Placement of the Base-object clone.
Yes, changing angle for the Base-Pad object helped instantly.
By the way, is there any place, where the main concepts of Freecad's path module would be described - what is Job, Base-..., Stock, SetupSheet, etc? Without much detail, just the overall philosophy of the process :)
Currently no, it might be best to view sliptonics videos (see the tutorial section of the forum).
User avatar
JoshM
Posts: 419
Joined: Thu Oct 05, 2017 5:34 pm
Location: New Hampshire

Re: Incorrect path orientation, when path created from rotated sketch

Postby JoshM » Tue Dec 12, 2017 11:54 pm

filipp.sudanov wrote:
Tue Dec 12, 2017 5:59 pm
mlampert wrote:
Sat Dec 09, 2017 4:39 pm
So, regardless if you changed the Placement of your Part, you can modify the Placement of the Base-object clone at any time to suit your needs. You can do that manually in the property editor, use any tools from the Draft WB or the minimal tools we created in the Job editor. In the Setup tab the buttons under "Orientation" and "Alignment" can be used to rotate and move the Base-object clone and the Stock object.

Note that depending on how you change the Placement of the Base-object clone it will be (badly) misaligned with the originally created Stock object. In order to sync the two again, either also change the Placement of the Stock object, or you can temporarily select a different Stock and then switch back to the one you want - which, upon creation, will be aligned with the current Placement of the Base-object clone.
Yes, changing angle for the Base-Pad object helped instantly.
By the way, is there any place, where the main concepts of Freecad's path module would be described - what is Job, Base-..., Stock, SetupSheet, etc? Without much detail, just the overall philosophy of the process :)
Hi Filipp,
The tutorials are helpful generally, but there's been a lot of changes so some stuff has changed.

Regarding your specific question though, a Job contains the list of Operations in the order they will be executed. It also contains the Tool-Controllers defined by exporting tools defined in your Tool-Manager. It defines the output file, and the Post-Processor used to translate the raw-FC-Path GCode to your machine needs.

The Stock is representative of the raw material stock that you will mill to produce your result.

I'm not sure about the Base, but it may relate to the 3D Model used to generate your Operations, and provide orientation inputs.

The SetupSheet contains formulas and/or values used for Defaults for your JOB--Rapid Speeds, Start-Heights, calculations formulas for Safe and Clearance heights, etc... the default formulas can be changed by the end user. You can export a template of your Job's SetupSheet, then import for similar further Jobs.

Best Regards,
Josh
Last edited by JoshM on Wed Dec 13, 2017 2:28 pm, edited 1 time in total.
chrisb
Posts: 21375
Joined: Tue Mar 17, 2015 9:14 am

Re: Incorrect path orientation, when path created from rotated sketch

Postby chrisb » Wed Dec 13, 2017 7:43 am

Finally you apply the postprocessor to your job. It takes the path informations (which are themselves already defined by a GCode dialect) and creates the GCodes for a real machine.