Skip to content

Commit 3ec482d

Browse files
committed
increase default workplane size to 100x100mm
1 parent 7f9c0c6 commit 3ec482d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/canvas/canvas.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ class Canvas : public Gtk::GLArea, public ICanvas {
318318
bool m_needs_resize = false;
319319

320320
glm::quat m_cam_quat;
321-
float m_cam_distance = 10;
321+
float m_cam_distance = 100;
322322
float m_cam_fov = 45;
323323
glm::vec3 m_center = {0, 0, 0};
324324
Projection m_projection = Projection::ORTHO;

src/document/entity/entity_workplane.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace dune3d {
77
EntityWorkplane::EntityWorkplane(const UUID &uu)
8-
: Base(uu), m_normal(glm::quat_identity<double, glm::defaultp>()), m_size(10, 10)
8+
: Base(uu), m_normal(glm::quat_identity<double, glm::defaultp>()), m_size(100, 100)
99
{
1010
}
1111

src/document/group/group_reference.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ GroupReference::GroupReference(const UUID &uu) : Group(uu)
1212

1313
GroupReference::GroupReference(const UUID &uu, const json &j)
1414
: Group(uu, j), m_show_xy(j.value("show_xy", true)), m_show_yz(j.value("show_yz", true)),
15-
m_show_zx(j.value("show_zx", true)), m_xy_size(j.value("xy_size", glm::dvec2(10, 10))),
16-
m_yz_size(j.value("yz_size", glm::dvec2(10, 10))), m_zx_size(j.value("zx_size", glm::dvec2(10, 10)))
15+
m_show_zx(j.value("show_zx", true)), m_xy_size(j.value("xy_size", glm::dvec2(100, 100))),
16+
m_yz_size(j.value("yz_size", glm::dvec2(100, 100))), m_zx_size(j.value("zx_size", glm::dvec2(100, 100)))
1717
{
1818
}
1919

src/document/group/group_reference.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class GroupReference : public Group, public IGroupGenerate {
2525
bool m_show_yz = true;
2626
bool m_show_zx = true;
2727

28-
glm::dvec2 m_xy_size = {10, 10};
29-
glm::dvec2 m_yz_size = {10, 10};
30-
glm::dvec2 m_zx_size = {10, 10};
28+
glm::dvec2 m_xy_size = {100, 100};
29+
glm::dvec2 m_yz_size = {100, 100};
30+
glm::dvec2 m_zx_size = {100, 100};
3131

3232
UUID get_workplane_xy_uuid() const;
3333
UUID get_workplane_yz_uuid() const;

src/workspace/workspace_view.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class WorkspaceView {
2525
UUID m_current_document;
2626

2727
glm::vec3 m_center = glm::vec3(0, 0, 0);
28-
float m_cam_distance = 10;
28+
float m_cam_distance = 100;
2929
CanvasProjection m_projection = CanvasProjection::ORTHO;
3030
glm::quat m_cam_quat = glm::quat_identity<float, glm::defaultp>();
3131
float m_curvature_comb_scale = 0;

0 commit comments

Comments
 (0)