GithubHelp home page GithubHelp logo

freecad_zstools's Introduction

FreeCAD_zsTools

This is a small tools workbench for [FreeCAD](https://www.freecadweb.org) which provides some useful utilities.

Installation

Clone the repo (or download the zip) and put the folder in FreeCAD's preferences /Mod folder. To find where this folder is located on your system, enter this command into FreeCAD's Python console:

App.getUserAppDataDir()

Navigate to this folder, open the /Mod folder there and put the repo folder in there. Restart FreeCAD.

Utilities

This workbench provides the following functions/utilities:

PartInfo

Create PartInfo Attributes

This adds a new property group "PartInfo" to the selected object(s) where you can store additional part infos:

  • Material
  • Description

Parts Lists

Create Parts List Spreadsheet

This adds a new Spreadsheet to the current document with a parts list of all selected objects. These spreadsheets can then be further processed, added to TechDraw drawings etc.

The spreadsheet contains the following columns:

  • Pos
  • Count
  • Name (Label of the part)
  • Material (from PartInfo above)
  • Description (from PartInfo above)
  • Width
  • Length
  • Height

TechDraw: Export all pages to PDF

Export all TechDraw pages to PDF.

The files will be created in the current document directory.

TechDraw: Copy Editable Fields

Copy editable fields to subsequent pages.

The content of the editable fields are copied from the first page to subsequent pages.

(will be continued...)

freecad_zstools's People

Contributors

zisoft avatar

Watchers

 avatar

freecad_zstools's Issues

Error upon creating a part list

When trying to create a part list from an assembly4 model, an error message is getting displayed.

12:17:41  zsTools WorkBench initializing... done.
12:17:42  Activating zsTools WorkBench
12:41:00  Running the Python command 'zsTools_makeSpreadsheet' failed:
Traceback (most recent call last):
  File "/Users/username/Library/Preferences/FreeCAD/Mod/FreeCAD_zsTools/makeSpreadsheetCmd.py", line 98, in Activated
    self.sheet.set('F' + sRowNum, str(Xsize))

local variable 'Xsize' referenced before assignment

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.