forked from 1b-agent/opencadstudio-upstream
Merge main into codex/graphic-attributes-cleanup
Conflicts were additions on both sides, kept together: the Count palette and Sheet Set toggles next to the Graphic Attributes toggle in the ribbon, main's new locale groups and catalog entries next to graphic-attributes, and module declarations. The palette code follows main's crate renames (acadrust -> codec, cadkernel -> kernel). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VgkJN8DEojuPTumAXLHotu
This commit is contained in:
625 files changed
+104397
-28053
No files matched your search
@@ -1,8 +1,8 @@
|
||||
use crate::scene::Scene;
|
||||
use acadrust::entities::hatch::{BoundaryEdge, BoundaryPath, Hatch, PolylineEdge, SplineEdge};
|
||||
use acadrust::types::{Vector2, Vector3};
|
||||
use cadkernel::geom2d::{refine_spline_boundary, triangulate_rings, Curve, NurbsCurve};
|
||||
use cadkernel::tessellation::DEFAULT_ANGLE;
|
||||
use codec::entities::hatch::{BoundaryEdge, BoundaryPath, Hatch, PolylineEdge, SplineEdge};
|
||||
use codec::types::{Vector2, Vector3};
|
||||
use kernel::geom2d::{refine_spline_boundary, triangulate_rings, Curve, NurbsCurve};
|
||||
use kernel::tessellation::DEFAULT_ANGLE;
|
||||
|
||||
#[test]
|
||||
fn gradient_stops_keep_entity_transparency() {
|
||||
@@ -14,13 +14,13 @@ fn gradient_stops_keep_entity_transparency() {
|
||||
hatch.gradient_color.enabled = true;
|
||||
hatch.gradient_color.name = "LINEAR".into();
|
||||
hatch.gradient_color.colors = vec![
|
||||
acadrust::entities::hatch::GradientColorEntry {
|
||||
codec::entities::hatch::GradientColorEntry {
|
||||
value: 0.0,
|
||||
color: acadrust::types::Color::Rgb { r: 255, g: 0, b: 0 },
|
||||
color: codec::types::Color::Rgb { r: 255, g: 0, b: 0 },
|
||||
},
|
||||
acadrust::entities::hatch::GradientColorEntry {
|
||||
codec::entities::hatch::GradientColorEntry {
|
||||
value: 1.0,
|
||||
color: acadrust::types::Color::Rgb { r: 0, g: 0, b: 255 },
|
||||
color: codec::types::Color::Rgb { r: 0, g: 0, b: 255 },
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user