initial upload
This commit is contained in:
34
BOSL2/V08APR26/SKU2689999/lib/esp32.scad
Normal file
34
BOSL2/V08APR26/SKU2689999/lib/esp32.scad
Normal file
@@ -0,0 +1,34 @@
|
||||
/* 79-character width
|
||||
012345678.012345678.012345678.012345678.012345678.012345678.012345678.012345678
|
||||
*/
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// LibFile: esp32.scad
|
||||
// FileGroup: ESP32DEVKIT
|
||||
// FileSummary: Models relevant to the DEV kits
|
||||
//
|
||||
// DETAILS:
|
||||
// There are slightly different form factors, between vendors
|
||||
// Todo: NONE
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
include <BOSL2/std.scad>
|
||||
|
||||
include <params.scad>
|
||||
|
||||
esp32_VendorA();
|
||||
module esp32_VendorA() {
|
||||
|
||||
// Renders the PCB representation
|
||||
cuboid([dimXVendorA, dimYVendorA, ohZPCBVendorA]);
|
||||
|
||||
// Renders the over-hang (ov)
|
||||
translate([0, ((0.5*dimYVendorA)+(0.5*ohYVendorA))-VOID, ((0.5*ohZPCBVendorA)+(0.5*ohZVendorA))])
|
||||
cuboid([ohXVendorA, ohYVendorA, ohZVendorA]);
|
||||
|
||||
// Renders the ESPRESSIF IC
|
||||
translate([0, 0, (0.5*dimZVendorA)-(0.5*ohZPCBVendorA)])
|
||||
cuboid([icXBody, dimYVendorA, dimZVendorA,]);
|
||||
|
||||
// Renders the 2x USB representation
|
||||
translate([0, -((0.5*dimYVendorA)+(0.5*ohYUSB))+VOID, ((0.5*ohZPCBVendorA)+(0.5*ohZUSB))])
|
||||
cuboid([ohXUSB, ohYUSB, ohZUSB]);
|
||||
}
|
||||
Reference in New Issue
Block a user