Go into Part Design and create a Part. Then make a Body within that Part. Make the body active and create a sketch within on the X-Y axis. Draw a square about the origin. Select two diagonally-opposite corners and then the origin. Click "Constrain Symmetrical". Make two adjacent sides equal to each other. Constrain one side to 100mm. The sketch should now be fully-constrained. Pad this to 10mm. Select the left face of the slab created and create a sketch there. Draw a square of 5mm and symmetrically constrain the origin to between two horizontal points. The square should be on the slab, not hanging off the top or bottom. Close the sketch and click Pocket to make a groove through the whole body. Now the stage is set.
Open the sketch again and select it in the combo window. Go down to the Attachment Offset for this sketch and increase the X offset to 10mm. Zoom in. Watch as the grid retracts right. The grid retracts faster the higher the X offset is set. Zoom out so you can see the whole slab. Now set the X offset to a negative value. The grid will retract to the left. The same goes for the Y offset with the grid retracting up if positive and down if negative. I don't see any disappearing gridlines if I alter the Z offset.
Code: Select all
OS: Debian GNU/Linux 12 (bookworm) (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32637 (Git)
Build type: Release
Branch: master
Hash: 7fa7cb7f0b222864be7416c683166876eab190bc
Python 3.11.2, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* Pyramids-and-Polyhedrons
* sheetmetal 0.2.63
* freecad.gears 1.0.0
* Assembly4 0.12.6
* A2plus 0.4.60k
* fasteners 0.4.55
* Manipulator 1.5.0