Code Monkey home page Code Monkey logo

in3dca-freegrid's People

Contributors

hasecilu avatar instancezero avatar johnsonm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

in3dca-freegrid's Issues

Create documentation

It could be a single Wiki article to describe all commands or one article per parametric object + the main one.

I was thinking on having a few planes made with TechDraw to show the main dimensions.

Why no photos

A photo of the product might help, just saying. And Google didn't help.

Error on dividers() method: copy.copy() broken

I was giving a try to the workbench (working btw) when in the dividers part I get an error, decided to test the macro both the one from main branch and the one from #11 and all of them have the same error.

I don't know if something changed on copy or FreeCAD but the previous code doesn't work, I tried a lot of changes with the Part commands and deepcopy but nothing really worked, without the copies you only get the last horizontal/vertical dividers.

16:12:35  Traceback (most recent call last):
16:12:35    File "/home/uli/.local/share/FreeCAD/Macro/in3dca_storage.FCMacro", line 349, in ok_button_click
16:12:35      self.start_button_click()
16:12:35    File "/home/uli/.local/share/FreeCAD/Macro/in3dca_storage.FCMacro", line 355, in start_button_click
16:12:35      self.generate_box()
16:12:35    File "/home/uli/.local/share/FreeCAD/Macro/in3dca_storage.FCMacro", line 319, in generate_box
16:12:35      Part.show(box.make(x, y, z, mag_d, mag_h), "In3D_" + size + "_box")
16:12:35                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16:12:35    File "/home/uli/.local/share/FreeCAD/Macro/in3dca/StorageBox.py", line 603, in make
16:12:35      for divider in self.dividers():
16:12:35                     ^^^^^^^^^^^^^^^
16:12:35    File "/home/uli/.local/share/FreeCAD/Macro/in3dca/StorageBox.py", line 265, in dividers
16:12:35      dividers.append(copy.copy(divider))
16:12:35                      ^^^^^^^^^^^^^^^^^^
16:12:35    File "/usr/lib/python3.11/copy.py", line 92, in copy
16:12:35      rv = reductor(4)
16:12:35           ^^^^^^^^^^^
16:12:35  TypeError: cannot pickle 'Part.Solid' object

Consider changing z unit height to mm

The last 2 days I have been testing your Macro and I totally like it.
The only drawback I had while using it it was with the z unit height constraint, it is restrictive with very small vertical spaces.
I have a 55mm height desk drawer, I designed a through hole resistor box (available at cults3d) and with only 48 mm available for boxes, 10mm boxes wouldn't leave space for resistors, with 20mm boxes would have use more grids, so I used 15mm boxes and I can stack 3 boxes allowing up to 18 different resistor values per 3 square grid units.
The macro will be more flexible if it allows to specify the z height directly in mm in the GUI versus having to modify the z unit height in the code.
As I showed, this consideration is relevant in small closed spaces, in an open space on a shelf seems irrelevant. Anyway now my resistors are happily organized in 9 square grid units.
Greetings.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.