Skip to content
Open
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: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ add_subdirectory(sikit)
add_subdirectory(emikit)
add_subdirectory(mpkit)
add_subdirectory(studio) # circuitcore_studio -- unified browser-tab GUI
# (see sikit/MIGRATION.md)

# --- Test discovery for the core libs ---
if(CIRCUITCORE_BUILD_TESTS)
Expand Down
11 changes: 7 additions & 4 deletions board/include/circuitcore/board/Board.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,15 @@ struct Via {
int net_id = 0;
};

// Renderers approximate Oval / RoundRect / Custom as a Rect of the
// given size; the corner radii are visual niceties, not load-bearing
// for any solver we currently ship.
enum class PadShape {
Circle, // (drill diameter for through-hole, size.x for SMD round)
Circle, // drill diameter for through-hole, size.x for SMD round
Rect, // size = (width, height)
Oval, // rounded rectangle approximated as Rect for v0
RoundRect, // rounded rectangle approximated as Rect for v0
Custom, // not supported v0 — falls back to Rect with size
Oval,
RoundRect,
Custom,
};

// Component pad. Size is post-mm-to-m converted; defaults are 0 meaning
Expand Down
139 changes: 0 additions & 139 deletions sikit/MIGRATION.md

This file was deleted.

20 changes: 0 additions & 20 deletions sikit/README.md

This file was deleted.

2 changes: 1 addition & 1 deletion sikit/render/Camera3D.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// board's top copper. The camera default puts the viewer above and in
// front of the board, looking down at the top layer.
//
// Sits in sikit_core, so no Qt dependency all math is hand-rolled.
// Lives in sikit::render with no Qt dependency -- all math is hand-rolled.

#pragma once

Expand Down
10 changes: 5 additions & 5 deletions sikit/si/Connector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,30 +89,30 @@ ConnectorSpec make_diff_pair(const std::string& name, double il_slope,
} // namespace

ConnectorSpec preset_sma_edge_launch() {
return make_sma_like("SMA edge launch (placeholder)", 0.04, 25.0);
return make_sma_like("SMA edge launch", 0.04, 25.0);
}

ConnectorSpec preset_sma_panel_mount() {
return make_sma_like("SMA panel mount (placeholder)", 0.07, 20.0);
return make_sma_like("SMA panel mount", 0.07, 20.0);
}

ConnectorSpec preset_usb_c_diff_pair() {
// USB 3.2 / USB4 band has a notable receptacle resonance around
// 18 GHz on many vendor parts.
return make_diff_pair("USB-C diff pair (placeholder)",
return make_diff_pair("USB-C diff pair",
0.12, 18.0, -38.0, -45.0,
18e9, 2.0);
}

ConnectorSpec preset_rj45_diff_pair() {
// RJ45 magnetics modules show more mode conversion than coax-style
// connectors -- they are wirewound transformers.
return make_diff_pair("RJ45 (placeholder)",
return make_diff_pair("RJ45",
0.20, 14.0, -28.0, -32.0);
}

ConnectorSpec preset_samtec_btb() {
return make_sma_like("Samtec board-to-board (placeholder)",
return make_sma_like("Samtec board-to-board",
0.06, 22.0);
}

Expand Down
17 changes: 8 additions & 9 deletions studio/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
# circuitcore_studio -- unified browser-tab shell for sikit / pdnkit /
# emikit. One window, four tabs (Board, SI, PI, EMI), one shared
# BoardModel. Each tab brings its own toolbar + panels; the model
# carries the loaded PCB + selection state and broadcasts via signals.
#
# This skeleton has the shell + the Board tab. The SI/PI/EMI tabs are
# placeholder widgets until Tasks #3 / #4 / #5 wire in the actual
# analysis widgets from each tool.
# circuitcore_studio -- unified browser-tab shell for every kit. One
# window, five tabs (Board, SI, PI, EMI, Mp), one shared BoardModel.
# Each tab brings its own toolbar + panels; the model carries the
# loaded PCB + selection state and broadcasts via signals.
#
# Depends on:
# - circuitcore::ui (shared 2D renderer; LayerColors here)
# - circuitcore::kicad (PcbParser for File > Open)
# - sikit_si (SiStackup to pair with the loaded board)
# - sikit_si (SI workflows + SiStackup paired with the board)
# - pdnkit_widgets (PI panels + canvas + IR/DRC dialogs)
# - emikit (EMI drive + spectrum)
# - mpkit_mp + mpkit_widgets (multiphysics + 3D VTK viewer)
# - Qt6::Widgets

add_executable(circuitcore_studio
Expand Down
Loading