Shapebinder Pad unexpected behavior

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!
drmacro
Posts: 968
Joined: Sun Mar 02, 2014 4:35 pm

Shapebinder Pad unexpected behavior

Postby drmacro » Wed Jun 03, 2020 3:42 pm

This may be perfectly normal and expected since I've never attempted this before.

In Part Design WB I create a Body and a sketch on the XY_Plane. Draw a rectangle.

Now select the Sketch and make a shape binder.

If I pad the Sketch it extrudes in the positive Z direction.

If I pad the Shape binder it extrudes in the negative Z direction.


Is this correct?

:?





OS: Ubuntu 19.10 (XFCE/ubuntustudio)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 47c9f01d22b6a22a3298bf7f58abf23dfbe3c825
Python version: 3.7.5
Qt version: 5.12.4
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."

My beginners, written treatise: Learning FreeCAD
chrisb
Posts: 25204
Joined: Tue Mar 17, 2015 9:14 am

Re: Shapebinder Pad unexpected behavior

Postby chrisb » Wed Jun 03, 2020 9:10 pm

I cannot confirm. The Pad based on the sketch goes into the same direction as that of the ShapeBinder.
Did you really select the sketch? It sounds rather as if you selected the face on which the sketch lies.

OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: C/Default (C)
GeneFC
Posts: 1214
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Shapebinder Pad unexpected behavior

Postby GeneFC » Wed Jun 03, 2020 9:31 pm

I can confirm.

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

Gene
TheMarkster
Posts: 1566
Joined: Thu Apr 05, 2018 1:53 am

Re: Shapebinder Pad unexpected behavior

Postby TheMarkster » Wed Jun 03, 2020 9:53 pm

I get pads in opposite directions.

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)
My FreeCAD video series on youtube: https://www.youtube.com/c/mwganson
drmacro
Posts: 968
Joined: Sun Mar 02, 2014 4:35 pm

Re: Shapebinder Pad unexpected behavior

Postby drmacro » Thu Jun 04, 2020 12:35 pm

chrisb wrote:
Wed Jun 03, 2020 9:10 pm
Sketch (note Z axis):
SB_Sketch.png
SB_Sketch.png (98.27 KiB) Viewed 221 times
Pad of Sketch:
SB_SketchPad.png
SB_SketchPad.png (103.5 KiB) Viewed 221 times
Pad of sub-binder (note Z axis):
SB_Pad.png
SB_Pad.png (89.83 KiB) Viewed 221 times


OS: Ubuntu 19.10 (XFCE/ubuntustudio)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 3beb1bff21d15f93c1164c130f9ba00add74a256
Python version: 3.7.5
Qt version: 5.12.4
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Attachments
Part_w_ShapbinderPads.FCStd
(27.88 KiB) Downloaded 5 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."

My beginners, written treatise: Learning FreeCAD
User avatar
Zolko
Posts: 933
Joined: Mon Dec 17, 2018 10:02 am

Re: Shapebinder Pad unexpected behavior

Postby Zolko » Thu Jun 04, 2020 1:10 pm

drmacro wrote:
Wed Jun 03, 2020 3:42 pm
Now select the Sketch and make a shape binder.
actually: in this context (a sketch) what is the difference between a shapebinder and a Draft_Clone ?
try the Assembly4 workbench for FreCAD v0.19
install with Tools > Addon Manager > Assembly4 — tutorials here and here
drmacro
Posts: 968
Joined: Sun Mar 02, 2014 4:35 pm

Re: Shapebinder Pad unexpected behavior

Postby drmacro » Thu Jun 04, 2020 5:05 pm

Zolko wrote:
Thu Jun 04, 2020 1:10 pm
drmacro wrote:
Wed Jun 03, 2020 3:42 pm
Now select the Sketch and make a shape binder.
actually: in this context (a sketch) what is the difference between a shapebinder and a Draft_Clone ?
I don't know.

I was attempting to use the method for multiple parts to use in an Asm4 project.

It does work, but the post recommended a sub-binder. https://forum.freecadweb.org/viewtopic.php?f=20&t=47187
Angle_multipl.png
Angle_multipl.png (104.1 KiB) Viewed 186 times
Angles_asm.png
Angles_asm.png (93.26 KiB) Viewed 186 times
Attachments
Assembly_frame-2.FCStd
(13 KiB) Downloaded 1 time
Frame_angles.FCStd
(33.58 KiB) Not downloaded yet
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."

My beginners, written treatise: Learning FreeCAD
chrisb
Posts: 25204
Joined: Tue Mar 17, 2015 9:14 am

Re: Shapebinder Pad unexpected behavior

Postby chrisb » Thu Jun 04, 2020 10:28 pm

This seems to be system dependent. Using the file attached to this post ...
drmacro wrote:
Thu Jun 04, 2020 12:35 pm
I get this:
Snip macro screenshot-89f849.png
Snip macro screenshot-89f849.png (4.32 KiB) Viewed 163 times
Doing nothing but a full recompute I get:
Snip macro screenshot-576d45.png
Snip macro screenshot-576d45.png (3.27 KiB) Viewed 163 times
.
Did you try with a normal (blue) ShapeBinder?
GeneFC
Posts: 1214
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Shapebinder Pad unexpected behavior

Postby GeneFC » Fri Jun 05, 2020 12:05 am

It may or may not be important, but it really does happen. This is about as basic as possible.

01 Setup.PNG
01 Setup.PNG (16.39 KiB) Viewed 158 times
02 Sketch.PNG
02 Sketch.PNG (4.8 KiB) Viewed 158 times
03 Shapebinder.PNG
03 Shapebinder.PNG (4.8 KiB) Viewed 158 times
04 Sketch pad.PNG
04 Sketch pad.PNG (5.27 KiB) Viewed 158 times
05 Sketch pad under.PNG
05 Sketch pad under.PNG (5.99 KiB) Viewed 158 times
06 Shapebinder pad.PNG
06 Shapebinder pad.PNG (5.93 KiB) Viewed 158 times

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.21329 (Git)
Build type: Release
Branch: master
Hash: 2330eef823b32ac412d839031cc174353a76b013
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)


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

Re: Shapebinder Pad unexpected behavior

Postby chrisb » Fri Jun 05, 2020 5:12 am

We all discussing in this topic are long enough in the business that we know, that the most stupid errors are possible, but I am absolutely sure that we are beyond this state. So there are two questions:
1) Why is it working the way it does on your systems? I would call it an error.
2) Why does it work on my system? I wouldn't expect any OS specific influence here.

I had hoped it came from different OCC versions, but TheMarkster uses the same. Next to test would be with MacOS, anyone out there who can test?