Git Product home page Git Product logo

kicad-packages3d's Introduction

KiCad 3D Models

This repository contains 3D models for rendering and MCAD integration, for use with KiCAD EDA software. The model needs a mechanical model source (a manually-modelled or script-generated file); its WRL counterpart file must be obtained as a conversion from the MCAD model

Supported File Formats

The 3D model library supports two file formats:

STEP

STEP files are used for integration with MCAD software packages.
STEP models must be 1:1 in mm, better if the model is a solid single object (a union of parts) for size and loading optimization. KiCad supports STEP file integration and can export board and component models into an integrated STEP file. This file can then be imported by a MCAD package.

WRL

WRL files must be exported from its mechanical model counterpart. WRL files are used for photo-realistic rendering using KiCad's raytracing rendering engine. This format supports more complex material properties, allowing various common component materials to be accurately rendered.

Source Files

Source files for generated models should be submitted to (https://github.com/kicad/packages3d-source). This includes generator scripts, or native model files from source software (e.g. FreeCAD)

Preferred method to create 3D models

The model has to be created in a mechanical program, able to generate STEP export. The model can be created by automatic scripts or manually. FreeCAD is the preferred software because it is open source, and anyone can rework the model for future improvements, but also other proprietary MCAD software are allowed. In case the model is generated by scripts, the scripts should be linked to the PR stating sw and version used to run the scripts; when the model is manually created, the MCAD source file should be added to the PR as well as STEP file. STEP models should be 1:1 in mm, better if the model is a solid single object (a union of parts) for size and loading optimization; text is not suggested on models because of size increasing, anyway in case of text the fonts must be licensed free as the word. WRL models should be exported from its mechanical counterpart and, when possible, have the suggested material properties as in these documents:

A simple method to export a fully compliant WRL model from a mechanical STEP model is through KiCad StepUp.
A tutorial video can be found here
A good starting point to learn how to create models by script is this github repo kicad-3d-models-in-freecad.
The scripts are made in Python and run in FreeCAD with CadQuery module add-on.

Model Alignment

The 3D models in this library are aligned with the footprints available in the KiCad footprint libraries.

Model Scaling

  • The STEP file format includes model scaling information, and so the 3D model scaling parameter must always be set to 1:1 in mm
  • The WRL file format does not specify absolute dimensions. KiCad normalizes WRL model dimension to units of 0.1 Inches, and the internal units of the WRL files should be scaled accordingly

Contributing

Refer to the Wiki page on Contributing

Model Licencing

Refer to the LICENSE.md file

External Model Libraries

In addition to the 3D model data provided in this library, there are other sources that designers may use to source 3D models.

Ensure that the LICENSE of any 3D data used is compatible with the intended use-case of the project.

kicad-packages3d's People

Contributors

misca1234 avatar schrodingersgat avatar stoth avatar jkriege2 avatar poeschlr avatar shackmeister avatar dasfrank avatar easyw avatar strombom avatar ferdymercury avatar cylindric avatar evanshultz avatar grob6000 avatar ouinouin avatar duckle29 avatar antoniovazquezblanco avatar bdm310 avatar maqifrnswa avatar stambaughw avatar myfreescalewebpage avatar asukiaaa avatar volkerti avatar penoud avatar resaj avatar whitequark avatar terjeio avatar serkanxselcuk avatar jeremysiebers avatar descampsa avatar rschaeuble avatar

Watchers

James Cloos avatar Alex avatar

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.