Settings for individual doglegs

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
hokieengr
Posts: 62
Joined: Sat Dec 31, 2016 5:09 pm

Settings for individual doglegs

Post by hokieengr »

We can currently turn on and off individual dogleg dressups but can we change the settings individually?

I think it would be great if we could do that. I currently have a part that needs two types (one to cut into a corner and one to extend a path and clean up an edge). They are both part of the same profile operation but require different methods.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Settings for individual doglegs

Post by sliptonic »

Yep.
Just double click the dogbone dressup and then enable/disable in the list
snapshot-3.png
snapshot-3.png (82.64 KiB) Viewed 1435 times
hokieengr
Posts: 62
Joined: Sat Dec 31, 2016 5:09 pm

Re: Settings for individual doglegs

Post by hokieengr »

I don't think I was very clear. I was pointing out that we can currently turn them on and off, but can we adjust individual dogleg settings? For example, I want dogleg 1 to be Adaptive and dogleg 2 to be along the long edge.

Make sense?
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Settings for individual doglegs

Post by chrisb »

sliptonic wrote: Mon Jul 23, 2018 8:37 pm Just double click the dogbone dressup and then enable/disable in the list
I created an object similar to yours, settings:

Style: T-bone vertical
Side: Right
Incision: adaptive

When I uncheck one of the two corners I get an error:

Code: Select all

Traceback (most recent call last):
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Mod/Path/PathScripts/PathDressupDogbone.py", line 921, in updateModel
    self.getFields()
  File "/Users/cb/Desktop/FreeCAD.app/Contents/Mod/Path/PathScripts/PathDressupDogbone.py", line 878, in getFields
    self.obj.BoneBlacklist = sorted(blacklist)
AttributeError: Attribute (Name: BoneBlacklist) error: 'type in list must be int, not long' 
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13976 (Git)
Build type: Release
Branch: (HEAD detached at fae0de5)
Hash: fae0de58581694157a97d567c151bdce75d387dc
Python version: 2.7.15
Qt version: 5.11.0
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: Settings for individual doglegs

Post by chrisb »

I get the message independent from the settings. File attached.
Attachments
dogbone.FCStd
(18.92 KiB) Downloaded 38 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Settings for individual doglegs

Post by sliptonic »

hokieengr wrote: Mon Jul 23, 2018 8:56 pm I don't think I was very clear. I was pointing out that we can currently turn them on and off, but can we adjust individual dogleg settings? For example, I want dogleg 1 to be Adaptive and dogleg 2 to be along the long edge.

Make sense?
Yes. At this time you can't do that. All settings are for all dogbones. You'd have to create multiple dressups.
User avatar
sliptonic
Veteran
Posts: 3457
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: Settings for individual doglegs

Post by sliptonic »

chrisb wrote: Mon Jul 23, 2018 10:38 pm I get the message independent from the settings. File attached.
I'm on git 14061 and can't duplicate the problem with your file. Can you try upgrading?
herbk
Veteran
Posts: 2657
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: Settings for individual doglegs

Post by herbk »

Hi sliptonic,
sliptonic wrote: Mon Jul 23, 2018 11:23 pm
chrisb wrote: Mon Jul 23, 2018 10:38 pm I get the message independent from the settings. File attached.
I'm on git 14061 and can't duplicate the problem with your file. Can you try upgrading?
chris is on mac and there is 13976 the last version atm...
Gruß Herbert
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Settings for individual doglegs

Post by GeneFC »

No problems seen here.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14090 (Git)
Build type: Release
Branch: master
Hash: a7c8a4677f480f8733e700c3bd2cabc579e3e061
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: English/UnitedStates (en_US)


I also went back and tried both 0.18.13971 and 0.18.13983, again with no problems.

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

Re: Settings for individual doglegs

Post by chrisb »

I will try later on my more current linux. What I had wanted to try was a test with multiple dressups - that is already answered by sliptonic.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply