Giter Club home page Giter Club logo

archive3dmodels's People

Contributors

dsa-t avatar mitjanemec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

archive3dmodels's Issues

Error when trying to use plugin

Hi, i have this problem.

Traceback (most recent call last): File "C:\Users\janee\Documents\KiCacI\6.0\3rdparty\plugins\action_archive_3d_models.py", line 237, in Run loggersinfo("Char size: "+ repr(dIg_size.GetCharHeight()))
AttributeError 'Size object has no attribute 'GetCharHeight'

Application: KiCad editor DPS (64-bit)
Version: (6.0.9), release build
Libraries:
wxWidgets 3.2.1
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 11 (build 22000), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Oct 29 2022 23:44:28
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 37
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

Thanks for any help :)

3d models created failed

hello ,my kicad version is (6.99.0-8g7c91cd73e3),when I
use this plugin, I met the following question,the log is

03-05 10:38:12 com_github_MitjaNemec_Archive3DModels.action_archive_3d_models 210:Plugin executed on: 'win32'
03-05 10:38:12 com_github_MitjaNemec_Archive3DModels.action_archive_3d_models 211:Plugin executed with python version: '3.9.6 (default, Sep 27 2021, 21:15:11) [MSC v.1929 64 bit (AMD64)]'
03-05 10:38:12 com_github_MitjaNemec_Archive3DModels.action_archive_3d_models 212:KiCad build version: (6.99.0-834-g7c91cd73e3)
03-05 10:38:12 com_github_MitjaNemec_Archive3DModels.action_archive_3d_models 213:Plugin version: 1.0.3

03-05 10:38:20 com_github_MitjaNemec_Archive3DModels.archive_3d_models 13:Starting to archive 3D models
03-05 10:38:20 com_github_MitjaNemec_Archive3DModels.archive_3d_models 34:Getting 3D models for footprint of: D10
03-05 10:38:20 com_github_MitjaNemec_Archive3DModels.action_archive_3d_models 247:Fatal error when executing Archive 3D Models
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\KiCad\6.99\3rdparty\plugins\com_github_MitjaNemec_Archive3DModels\action_archive_3d_models.py", line 240, in Run
not_copied_list = archiver.archive_3d_models(board, remap_missing_models=amm)
File "C:\Users\Administrator\Documents\KiCad\6.99\3rdparty\plugins\com_github_MitjaNemec_Archive3DModels\archive_3d_models.py", line 39, in archive_3d_models
nr_models = range(len(models))
TypeError: object of type 'SwigPyObject' has no len()

Not working

The plugin doesn't work for me. In the project directory it makes a subdirectory with 3d model subfiles. But when it starts it reports an error that it can't find the 3d files. With the kicad_pcb file it does nothing.

.STEP vs .step

I'm getting a few "did not succeed to copy 3D models" End of log below.

07-30 17:15:17 com_github_MitjaNemec_Archive3DModels.archive_3d_models 147:Did not succeed to copy 3D models!
('J1', '${KIPRJMOD}/ALTIUM_EMBEDDED_MODELS/12401610E4#2A.STEP')
('U1', '${KICAD6_3DMODEL_DIR}/Connector_JST.3dshapes/JST_SH_BM03B-SRSS-TB_1x03-1MP_P1.00mm_Vertical.STEP')
('TH1', '${KICAD6_3DMODEL_DIR}/custom/NXRT15XH103FA1B040.STEP')

It looks like this can be resolved by just renaming the .STEP files to .step. Happy to do that for my project, but just thought you might want to add case insensitivity to the file type identifier in the code as a lot of SnapEDA or otherwise online 3d model providers can provide them with .STEP rather than .step (for reasons that elude me, but they do exist regularly from my experience).

I cannot figure out how to use this

I apologize in advance for my ignorance, but I seem to be missing something critical for launching this plugin.

I am new to KiCad but have finished a project and would like to make it portable. I have installed the plugin but cannot find any way to run it. Other plugins I have installed have given me new buttons on the top bar for their functions, but not this one.

Is it possible to add an instruction for running the plugin in the readme.md? I have looked around a lot and could not find any leads on how to execute your plugin.

Thank you.

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.