in3dca-freegrid icon indicating copy to clipboard operation
in3dca-freegrid copied to clipboard

Officially release WB on FreeCAD

Open hasecilu opened this issue 2 months ago • 11 comments

Hi, @instancezero, @johnsonm, it's been a while since last change.

I'm planning to officially add this WB to the FreCAD addon manager so I would like to see if some of you have some reviews or some ideas for things to add.

I think I'll let the WorkBench branch to be the "main" branch for the WB and let real main for the macro.

  • [X] Fixed the bug from https://github.com/instancezero/in3dca-freegrid/issues/1#issuecomment-1913689032, now you can set the height to 0 (values from 0 to 2.6[mm] result in same geometry) to have a flush floor without breaking the geometry. Screenshot_2024-05-08_20-23-14
  • [ ] Add submodule to FreeCAD-addons: https://github.com/hasecilu/FreeCAD-addons/tree/add_freegrid
  • [ ] Need icons: https://forum.freecad.org/viewtopic.php?t=87507 image
  • [ ] Add floor to bit cartridge holder, other ideas? image

Just something more: in in3dca/h.py file there was planned something for to_origin var? It just creates a 0 vector that is added to all points, it adds 0. In other parts of the code there is the same operation so I think there is no need to have it there, I'm missing something?

    if to_origin == 0:
        to_origin_v = xyz()
    moved = []
    for point in vec:
        moved.append(xyz(point.x + to_origin_v.x, point.y + to_origin_v.y, point.z + to_origin_v.z))
  • [X] Preferences page to set custom default values image
  • [X] About page image

  • [ ] Update CHANGELOG
## 2.0.0 Workbench release

Changes:
* Migrate from macro to workbench.
* Created objects are fully parametric, properties can be changed on Properties View panel.
* Add docstrings to methods.
* Add translation support.
* Add possibility to assign a random color at creation time.
* Add transaction at creation time.
* Add dockable UI to set sketch size.
* Add pre-commit hooks.
* Add preferences page and command to open preferences page.
* Add command to open about page.

Bugs:
* Fixed issue when trying to create a storage box smaller than 10[mm]. Useful to get a "floor".

## 1.3.0

Bugs:
* Fixed issue when copying dividers, now built-in copy() method is used.

Changes:
* Add forms to let users enter magnet parameters to both boxes and grids.
* Use FreeCAD Quantity parser.

Fix #1

hasecilu avatar May 09 '24 03:05 hasecilu