From e303ac6e3f0b813785b2d97563da67b0ca7debe1 Mon Sep 17 00:00:00 2001 From: Stefan Helmert Date: Wed, 10 Jul 2024 16:40:52 +0200 Subject: [PATCH 1/2] added first Aimtec DCDC converter --- .../Converter_DCDC/cq_parameters.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py b/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py index fb1a0843..7eb1c3ae 100644 --- a/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py +++ b/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py @@ -379,6 +379,28 @@ def namedtuple_with_defaults(typename, field_names, default_values=()): dest_dir_prefix = 'Converter_ACDC.3dshapes' # Destination directory ), + 'Converter_DCDC_Aimtec_AM2DSxxxxSJZ_Single_THT': Params( # ModelName + # + # + # + modelName = 'Converter_DCDC_Aimtec_AM2DSxxxxSJZ_Single_THT', # Model name + pintype = 'tht', # Pin type, 'tht', 'smd' + L = 7.0, # Package length + W = 19.5, # Package width + H = 10.0, # Package height + A1 = 0.1, # Package board separation + pin = (('round', 0.0, 0.0, 0.5, 4.1), ('round', 0.0, 2.54, 0.5, 4.1), ('round', 0.0, 7.62, 0.5, 4.1), ('round', 0.0, 12.7, 0.5, 4.1)), # Pin placement + pin1corner = (-4.77, -2.03), # Left upp corner relationsship to pin 1 + show_top = False, # If top should be visible or not + corner = 'none', # If top should be cut, 'none', 'chamfer' or 'fillet' + roundbelly = 0, # If belly of caseing should be round (or flat) + rotation = 0, # If belly of caseing should be round (or flat) + body_color_key = 'black body', # Body color + body_top_color_key = 'black body', # Body top color + pin_color_key = 'metal grey pins', # Pin color + dest_dir_prefix = 'Converter_DCDC.3dshapes' # Destination directory + ), + 'Converter_DCDC_Cincon_EC5BExx_Single_THT': Params( # ModelName # # From e450f4fe12aaac6a2b52d93503bd9e8b03cffdce Mon Sep 17 00:00:00 2001 From: Stefan Helmert Date: Wed, 10 Jul 2024 18:00:09 +0200 Subject: [PATCH 2/2] fits better --- cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py b/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py index 7eb1c3ae..6345cb86 100644 --- a/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py +++ b/cadquery/FCAD_script_generator/Converter_DCDC/cq_parameters.py @@ -390,7 +390,7 @@ def namedtuple_with_defaults(typename, field_names, default_values=()): H = 10.0, # Package height A1 = 0.1, # Package board separation pin = (('round', 0.0, 0.0, 0.5, 4.1), ('round', 0.0, 2.54, 0.5, 4.1), ('round', 0.0, 7.62, 0.5, 4.1), ('round', 0.0, 12.7, 0.5, 4.1)), # Pin placement - pin1corner = (-4.77, -2.03), # Left upp corner relationsship to pin 1 + pin1corner = (-6.1, -2.21), # Left upp corner relationsship to pin 1 show_top = False, # If top should be visible or not corner = 'none', # If top should be cut, 'none', 'chamfer' or 'fillet' roundbelly = 0, # If belly of caseing should be round (or flat)