Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sym/cmp for crystals with a grounded case #100

Merged
merged 2 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmp/2c5d2ae0-a3db-45cc-b04b-8ba114d1c9ce/.librepcb-cmp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
35 changes: 35 additions & 0 deletions cmp/2c5d2ae0-a3db-45cc-b04b-8ba114d1c9ce/component.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
(librepcb_component 2c5d2ae0-a3db-45cc-b04b-8ba114d1c9ce
(name "Crystal Unit")
(description "Crystal with a grounded cover")
(keywords "crystal,oscillator")
(author "murray")
(version "0.1.1")
(created 2023-07-10T16:07:41Z)
(deprecated false)
(generated_by "")
(category 39d4b3d6-4168-4fe2-9420-fbf7eb3ac248)
(schematic_only false)
(default_value "{{FREQUENCY}}\n{{MPN}}")
(prefix "Y")
(attribute "FREQUENCY" (type frequency) (unit megahertz) (value ""))
(signal b1cec1d8-8354-402d-a150-7fe4926ff8a4 (name "1") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal 31d637be-a2c3-4989-9e11-1950dd32c28b (name "2") (role passive)
(required true) (negated false) (clock false) (forced_net "")
)
(signal 2b79bfe4-e10c-45ee-81fb-6575862dd8a8 (name "GND") (role passive)
(required false) (negated false) (clock false) (forced_net "")
)
(variant abc3057c-8bb0-487b-bde6-38ab1f14057d (norm "")
(name "default")
(description "")
(gate 82cc6419-51ba-4d1a-95bc-f4c676723cef
(symbol 2a72cc54-d2bf-4a98-a996-c645eae27b44)
(position 0.0 0.0) (rotation 0.0) (required true) (suffix "")
(pin 6a5d679d-2f42-4af4-b9e3-e4ae3fd20080 (signal b1cec1d8-8354-402d-a150-7fe4926ff8a4) (text none))
(pin 86d223d8-18e4-493b-a4a4-f4372279dbae (signal 31d637be-a2c3-4989-9e11-1950dd32c28b) (text none))
(pin fccc0e1f-b29a-4675-8bea-42e39c32722e (signal 2b79bfe4-e10c-45ee-81fb-6575862dd8a8) (text none))
)
)
)
1 change: 1 addition & 0 deletions sym/2a72cc54-d2bf-4a98-a996-c645eae27b44/.librepcb-sym
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1
65 changes: 65 additions & 0 deletions sym/2a72cc54-d2bf-4a98-a996-c645eae27b44/symbol.lp
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
(librepcb_symbol 2a72cc54-d2bf-4a98-a996-c645eae27b44
(name "Crystal Unit")
(description "Crystal with a grounded cover")
(keywords "crystal,oscillator")
(author "murray")
(version "0.2")
(created 2023-07-10T15:34:05Z)
(deprecated false)
(generated_by "")
(category 39d4b3d6-4168-4fe2-9420-fbf7eb3ac248)
(pin 6a5d679d-2f42-4af4-b9e3-e4ae3fd20080 (name "1")
(position 0.0 2.54) (rotation 270.0) (length 1.524)
(name_position 2.794 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin 86d223d8-18e4-493b-a4a4-f4372279dbae (name "2")
(position 0.0 -2.54) (rotation 90.0) (length 1.524)
(name_position 2.794 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(pin fccc0e1f-b29a-4675-8bea-42e39c32722e (name "3")
(position -2.54 0.0) (rotation 0.0) (length 0.635)
(name_position 1.905 0.0) (name_rotation 0.0) (name_height 2.5)
(name_align left center)
)
(polygon 4327a893-b467-4c8a-acdb-5bd71220c51d (layer sym_outlines)
(width 0.254) (fill false) (grab_area true)
(vertex (position 1.5 1.016) (angle 0.0))
(vertex (position -1.5 1.016) (angle 0.0))
)
(polygon 34281e0e-537f-46b5-bc2f-abda7118e95d (layer sym_outlines)
(width 0.254) (fill false) (grab_area true)
(vertex (position -1.3 0.381) (angle 0.0))
(vertex (position 1.3 0.381) (angle 0.0))
(vertex (position 1.3 -0.381) (angle 0.0))
(vertex (position -1.3 -0.381) (angle 0.0))
(vertex (position -1.3 0.381) (angle 0.0))
)
(polygon e3955d55-a6a9-43ed-85e8-0ab5c6fe903f (layer sym_hidden_grab_areas)
(width 0.0) (fill true) (grab_area true)
(vertex (position -1.905 1.27) (angle 0.0))
(vertex (position 1.905 1.27) (angle 0.0))
(vertex (position 1.905 -1.27) (angle 0.0))
(vertex (position -1.905 -1.27) (angle 0.0))
(vertex (position -1.905 1.27) (angle 0.0))
)
(polygon 90d2a15b-456f-462c-9d1f-640e2731cdbe (layer sym_outlines)
(width 0.254) (fill false) (grab_area true)
(vertex (position 1.5 -1.016) (angle 0.0))
(vertex (position -1.5 -1.016) (angle 0.0))
)
(polygon 024ebc69-4f54-4da9-96c6-a83e1b3662b4 (layer sym_outlines)
(width 0.15875) (fill false) (grab_area false)
(vertex (position -1.27 1.5875) (angle 0.0))
(vertex (position -1.905 1.5875) (angle 0.0))
(vertex (position -1.905 -1.5875) (angle 0.0))
(vertex (position -1.27 -1.5875) (angle 0.0))
)
(text 251278b2-6533-4783-907e-55c51594ae5c (layer sym_values) (value "{{VALUE}}")
(align left top) (height 2.54) (position 2.54 0.0) (rotation 0.0)
)
(text 9208d5dc-38d6-453b-81af-7601996d02d4 (layer sym_names) (value "{{NAME}}")
(align left bottom) (height 2.54) (position 2.54 0.0) (rotation 0.0)
)
)