This post was updated on .
UPDATE 5/18/2017 - This library was lost some time ago before I was able to post the symbols properly. I am now in the process of rebuilding it in case anyone sees this thread.
SEE: http://forum.librecad.org/ECAD-Symbols-Again-td5714870.html I was about to start on an ECAD library for myself and thought that since I was already redrawing everything if I just made sure to use the right software I could release without licensing issues to other people as well since there are not many free libraries out there. So I have a python program I am putting together that automatically generates a dxf with all of the symbols I use personally (in US so it's a hodgepodge). Works beautifully for me and opens fine in LibreCAD 2. Everything is drawn currently in a 10x10 unit square so 11 points by 11 points to align to. Not going crazy with attributes or scaling yet just seeing where it goes right now. This is for my own reference / what I plan to do next: MISC: - DRAW HORIZ WIRE [FULL WIDTH] DONE | DRAW VERT WIRE [FULL HEIGHT] DONE / MOVE X TO 0 AND LOWER BY ONE LINE SCALE DONE MULTIPLES ex:// WILL MOVE BY THAT MANY LINES DONE > MOVE OFFSET RIGHT BY ONE BLOCK (10 UNITS) DONE MULTIPLES ex:>> WILL MOVE BY THAT MANY BLOCKS DONE < MOVE OFFSET LEFT BY ONE BLOCK (10 UNITS) DONE MULTIPLES ex:<< WILL MOVE BY THAT MANY BLOCKS DONE w[pf][123456789] DRAW WIRES & WIRE JOIN AS DEFINED DONE p DRAW WIRE AS PHANTOM LINESTYLE TODO f DRAW WIRE AS FIELD LINESTYLE [TYP. DOT/GREEN] TODO 1-4,6-9 WILL DRAW WIRE FROM CENTER TO NUMBER PRESENT DONE 11..11111 etc MULTIPLES TO EXTEND LINE (HALF BLOCK STEPS) DONE 5 WILL DRAW A WIRE JOIN DONE 7 8 9 \ | / 4--5--6 / | \ 1 2 3 CONTACTS: NO NORMALLY OPEN DONE NC NORMALLY CLOSED DONE FORMC FORM C CONTACT NO-C-NC DONE ->'>> w22222226 - NC t.14 T^32 //// T^30 t.11 w4586 - NO t.12 T^31' TERMINALS: t[.#] DEVICE LEVEL TERMINAL WIRES IN AND OUT DONE ti[.#] DRAW WIRE ON INCOMING SIDE ONLY DONE to[.#] DRAW WIRE ON OUTGOING SIDE ONLY DONE .# # = 1+ DIGITS TO BE DRAWN BELOW TERMINAL DONE T[.#][^#] PHYSICAL TERMINAL DONE .# # = 1+ DIGITS TO BE DRAWN *INSIDE* TERMINAL DONE ^# # = 1+ DIGITS TO BE DRAWN *ABOVE* TERMINAL DONE ACTUATED SWITCHES: At ACTIVE ON LOW TEMP DONE AT ACTIVE ON HIGH TEMP DONE Ap ACTIVE ON LOW PRESSURE DONE AP ACTIVE ON HIGH PRESSURE DONE Al ACTIVE ON LOW LEVEL DONE AL ACTIVE ON HIGH LEVEL DONE Af ACTIVE ON LOW FLOW DONE AF ACTIVE ON HIGH FLOW DONE COMPONENTS: CB CIRCUIT BREAKER DONE CB2 CIRCUIT BREAKER 2 POLE DONE ->'CB // CB' CB3 CIRCUIT BREAKER 3 POLE DONE ->'CB // CB // CB' SOL SOLENOID / MAGNETIC (FOR CB & MMP) DONE CR COIL / RELAY DONE FB[#] FUSE BLOCK [FUSE HOLDER] DONE # # POLES DONE FU[$][!] FUSE DONE $##.# ##.# RATING OF FUSE EX. 7.5 DONE !XXXX XXXX TYPE OF FUSE EX. MIDGET DONE MDS MAIN DISCONNECT SWITCH [3PH] TODO FDS FUSED DISCONNECT SWITCH [3PH] TODO CBD CIRCUIT BREAKER DISCONNECT [3PH] TODO XFMR[#.#] TRANSFORMER TODO #.# NUMBER OF PRIMARY.SECONDARY TAPS [DEF 1.1] TODO GEND GENERIC DEVICE WITH 2 TERMINALS TODO GENDNO GENERIC DEVICE WITH 2 TERM AND NO CONTACT TODO GENDNC GENERIC DEVICE WITH 2 TERM AND NC CONTACT TODO MOTOR RELATED: MTR THREE PHASE MOTOR TODO MTR1 SINGLE PHASE MOTOR MAYBE MINT MECHANICAL INTERLOCK TODO MSF FORWARD MOTOR STARTER TODO MSR REVERSE MOTOR STARTER TODO MSC THIRD STARTER REQD FOR SINGLE PHASE REV. MAYBE REVKIT 3PH REVERSING WIRING TODO OL THERMAL OVERLOAD DONE MMP MANUAL MOTOR PROTECTOR DONE ->'CB SOL t OL t // CB SOL t OL t // CB SOL t OL t' PILOT DEVICES: PBO PUSHBUTTON NO DONE PBC PUSHBUTTON NC DONE ES E-STOP/MUSHROOM PB DONE PL PILOT LIGHT DONE PTTL PUSH TO TEST PILOT LIGHT DONE ->'PBC << w2 > - w4562 - PL - / > w82 >> w82 / PBO - w48' SS2 2 POS SELECTOR X - X MAINTAINED TODO SS2L 2 POS SELECTOR X -> X SPRING RET. FROM LEFT TODO SS2R 2 POS SELECTOR X <- X SPRING RET. FROM RIGHT TODO SS3 3 POS SELECTOR X - X - X MAINTAINED TODO SS3L 3 POS SS X -> X - X SPRING RET. FROM LEFT TODO SS3C 3 POS SS X -> X <- X SPRING RET. TO CENTER TODO SS3R 3 POS SS X - X <- X SPRING RET. FROM RIGHT TODO -Kozbot |
This post was updated on .
I rewrote some of the code in order to generate individual files and dump them all into an ecad sub directory of my part library. Do I need any special permissions to eventually upload this to the wiki?
|
Administrator
|
In reply to this post by Kozbot
Hey,
if you have an wiki account you shouldn't have any restrictions whatsoever to do your upload. And if I may say so, you project looks very interesting, great work! |
In reply to this post by Kozbot
looks like it's more suitable to add your parts to our Resources repository:
https://github.com/LibreCAD/Resources
|
What would be the correct folder structure to put the dxf files in? Going off of what I see there guessing something similar to: /parts/kozbot/<files> ? I was planning to eventually release the python program under MIT license , is that more appropriate for the blocks as well or the CC by listed in the github page for resources?
|
If they are intended as blocks, then blocks/kozbot/<files>
MIT is correct for code; use CC for non-code (DXF since you wouldn't add a license header). |
In reply to this post by Kozbot
Few more symbols done and Push-To-Test Light made using string code rather than manually coding the lines (wanted to see if I could actually do it using mnemonics).
|
Free forum by Nabble | Edit this page |