Unable to change constrain value in PaertDesign Next sketch

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
salp
Posts: 250
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Unable to change constrain value in PaertDesign Next sketch

Post by salp »

( this may be a duplicate of the post "Editing early sketches not effecting part" viewtopic.php?f=3&t=15902)

I create 4 lines and specify the length and angle between the lines, the first line in constrained with Horizontal and centred on the vertical axis, as shown in the screen shot. if I go back and try to edit the angle between lines 1 & 2, I get an constraint conflict error. If I remove the Angle constraint between lines 1&2 I can rotate lines 2,3,4 as expected.
Not sure if I'm using the wrong constraint's or if this is a possible bug.

PS: When I open the file, Report View window shows: Can't find Origin for "Body"

[edit] removing all the constraints from line 1 allows the angle to be changed.


original_constrain.png
original_constrain.png (271.94 KiB) Viewed 1020 times
Thanks
Sal

OS: Ubuntu 16.04 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7682 (Git)
Build type: None
Branch: master
Hash: 3d95239bae1a9cf4b961ba45bf14553be91002f9
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Attachments
PortchOutline.fcstd
(8.01 KiB) Downloaded 13 times
cox
Posts: 971
Joined: Wed Nov 26, 2014 11:37 pm

Re: Unable to change constrain value in PaertDesign Next sketch

Post by cox »

Hi,

I am not sure why, but constraining the line end to a equal first construction line seams to work.
Attachments
PortchOutline edit.fcstd
(8.17 KiB) Downloaded 12 times
Need help? Feel free to ask, but please read the guidelines first
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Unable to change constrain value in PaertDesign Next sketch

Post by DeepSOIC »

First, the sketch has redundant constraints. Horizontal constraint on Line1 can be deleted, as the symmetry constraint already enforces horizontality.

But it didn't help. I could only change the angle in small steps, like 5 degrees at a time.
After a bit of trial and error, I found out that if I increase max number of iterations in advanced solver control to 500, the sketch is solved well for angle change for up to about 120 degrees (from 170 to 50).

Maybe something needs a tweak. I suspect angle change max step per iteration may be set too low.
User avatar
salp
Posts: 250
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Re: Unable to change constrain value in PaertDesign Next sketch

Post by salp »

I removed the redundant constraints and changed the iteirations to 500, and it works in all the combinations I tried.

I'm recreating many of the parts I have in ver 0.16 to see how everything works, and so far I really like it. I must admit that I'm having a tough time figuring out the body feature, but I'm sure it will get easier.

Thanks for the help.
Sal
Post Reply