marmakoide / dxftools Goto Github PK
View Code? Open in Web Editor NEWCommand-line tool to manipulate 2d DXF files
License: MIT License
Command-line tool to manipulate 2d DXF files
License: MIT License
Sous Windows 10 avec les libs spécifiques issues de https://www.lfd.uci.edu/~gohlke/pythonlibs/ :
Shapely-1.6.4.post2-cp38-cp38-win32.whl
matplotlib-3.1.1-cp38-cp38-win32.whl
six-1.12.0-py2.py3-none-any.whl
kiwisolver-1.1.0-cp38-cp38-win32.whl
`C:\dxftools-master>dxftools.py view "C:\Bottom_1_of_2_CFA.dxf"
Traceback (most recent call last):
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ezdxf\sections\header.py", line 250, in getitem
return self.hdrvars[key].value
KeyError: '$EXTMAX'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\dxftools-master\dxftools.py", line 205, in
cli()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 764, in call
return self.main(*args, **kwargs)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "C:\dxftools-master\dxftools.py", line 59, in view
bbox_min = doc.header['$EXTMAX']
File "C:\Users\XXX\AppData\Local\Programs\Python\Python38-32\lib\site-packages\ezdxf\sections\header.py", line 252, in getitem
raise DXFKeyError(str(key))
ezdxf.lldxf.const.DXFKeyError: '$EXTMAX'`
Processus d'installation :
Télécharger https://www.python.org/downloads/
Télécharger get-pip.py depuis https://pip.pypa.io/en/latest/installing/
Exécuter depuis une invite de commande dos : get-pip.py
Exécuter depuis une invite de commande dos : pip install -r requirements.txt
Télécharger depuis https://www.lfd.uci.edu/~gohlke/pythonlibs/ :
Shapely-1.6.4.post2-cp38-cp38-win32.whl
matplotlib-3.1.1-cp38-cp38-win32.whl
six-1.12.0-py2.py3-none-any.whl
kiwisolver-1.1.0-cp38-cp38-win32.whl
installer les whl depuis une invite de commande dos :
pip install [NOM DU FICHIER WHL]
Enfin exécuter le programme.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.