forked from 1b-agent/opencadstudio-upstream
chore: rename H7CAD to Open CAD Studio
Joining the OpenAEC Foundation (open-aec.com). Crate/struct become OpenCADStudio, user-facing strings use the spaced "Open CAD Studio" form, repo URLs point to HakanSeven12/open-cad-studio. Logo (window icon + assets/logo.svg) redrawn with OCS initials. Drop examples/ binaries — unused. Co-Authored-By: Claude Opus 4.7 <[email protected]>
This commit is contained in:
1 parent
e2bc8c29eb
commit
ef1f9a08d6
57 files changed
+159
-1301
No files matched your search
+1
-1
@@ -57,7 +57,7 @@ pub fn view_window<'a>() -> Element<'a, Message> {
|
||||
|
||||
let logo = container(
|
||||
column![
|
||||
text("H7CAD").size(32).color(ACCENT),
|
||||
text("Open CAD Studio").size(32).color(ACCENT),
|
||||
text("CAD application for Architecture & Engineering")
|
||||
.size(11)
|
||||
.color(DIM),
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
//! Application menu — H7CAD-style dropdown that opens when the H7 logo
|
||||
//! Application menu — OpenCADStudio-style dropdown that opens when the OCS logo
|
||||
//! button is clicked. Overlays the entire viewport as a floating panel.
|
||||
//!
|
||||
//! Layout:
|
||||
@@ -235,7 +235,7 @@ impl AppMenu {
|
||||
let bottom = container(
|
||||
row![
|
||||
iced::widget::Space::new().width(Length::Fill),
|
||||
button(text("Exit H7CAD").size(11).color(Color::WHITE))
|
||||
button(text("Exit Open CAD Studio").size(11).color(Color::WHITE))
|
||||
.on_press(Message::Command("EXIT".into()))
|
||||
.style(|_: &Theme, status| button::Style {
|
||||
background: Some(Background::Color(match status {
|
||||
@@ -299,7 +299,7 @@ impl AppMenu {
|
||||
// Backdrop — clicking outside closes the menu.
|
||||
let backdrop = button(
|
||||
container(panel)
|
||||
// Offset so the panel sits just below the ribbon H7 button.
|
||||
// Offset so the panel sits just below the ribbon OCS button.
|
||||
.padding(iced::Padding {
|
||||
top: 56.0,
|
||||
left: 0.0,
|
||||
@@ -521,7 +521,7 @@ fn recents_file_path() -> Option<PathBuf> {
|
||||
p
|
||||
};
|
||||
let mut p = base;
|
||||
p.push("H7CAD");
|
||||
p.push("OpenCADStudio");
|
||||
Some(p.join("recent.txt"))
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! H7CAD-style command line — bottom panel with input and history
|
||||
//! OpenCADStudio-style command line — bottom panel with input and history
|
||||
|
||||
use crate::app::Message;
|
||||
use iced::widget::{column, container, row, text, text_input};
|
||||
@@ -41,7 +41,7 @@ pub enum EntryKind {
|
||||
impl CommandLine {
|
||||
pub fn new() -> Self {
|
||||
let mut cl = Self::default();
|
||||
cl.push_info("H7CAD ready.");
|
||||
cl.push_info("Open CAD Studio ready.");
|
||||
cl.push_info("Type a command or use the ribbon. Open OBJ: INSERT tab.");
|
||||
cl
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! Properties panel — H7CAD-style editable object properties.
|
||||
//! Properties panel — OpenCADStudio-style editable object properties.
|
||||
//!
|
||||
//! Shows two sections (General + Geometry) for the selected entity.
|
||||
//! • Layer → combo_box (options from document layer table)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//! H7CAD-style OSNAP dropdown popup panel.
|
||||
//! OpenCADStudio-style OSNAP dropdown popup panel.
|
||||
//!
|
||||
//! Rendered as a floating overlay above the status bar. The popup is only
|
||||
//! inserted into the view stack when `snap_popup_open` is true.
|
||||
|
||||
@@ -140,7 +140,7 @@ pub fn view_window<'a>(latest: &'a str, body: &'a str) -> Element<'a, Message> {
|
||||
let header = container(
|
||||
column![
|
||||
text("New Release Available").size(20).color(ACCENT),
|
||||
text("A newer H7CAD version is published on GitHub.")
|
||||
text("A newer Open CAD Studio version is published on GitHub.")
|
||||
.size(11)
|
||||
.color(DIM),
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user