From 290c08d6d50a8b50f461b5717b504d11c980f6f6 Mon Sep 17 00:00:00 2001 From: Ryan Schultz Date: Tue, 3 Sep 2024 13:18:55 -0500 Subject: [PATCH] updated links in docs --- src/bonsai/bonsai/__init__.py | 2 +- src/bonsai/bonsai/bim/module/drawing/prop.py | 2 +- src/bonsai/bonsai/bim/module/project/ui.py | 2 +- src/bonsai/bonsai/bim/ui.py | 8 ++++---- src/ifcopenshell-python/docs/ifccsv.rst | 2 +- .../docs/ifcopenshell-python/installation.rst | 4 ++-- .../ifcopenshell/api/georeference/edit_georeferencing.py | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/bonsai/bonsai/__init__.py b/src/bonsai/bonsai/__init__.py index c1717cd861..54c17a1c6c 100644 --- a/src/bonsai/bonsai/__init__.py +++ b/src/bonsai/bonsai/__init__.py @@ -329,7 +329,7 @@ if IN_BLENDER: layout.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard") op = layout.operator("bim.open_uri", text="How Can I Fix This?") - op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#installation-issues" + op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#installation-issues" layout.label(text="Try Reinstalling:", icon="IMPORT") op = layout.operator("bim.open_uri", text="Re-download Add-on") diff --git a/src/bonsai/bonsai/bim/module/drawing/prop.py b/src/bonsai/bonsai/bim/module/drawing/prop.py index e67c8a908f..ec94a0ebb8 100644 --- a/src/bonsai/bonsai/bim/module/drawing/prop.py +++ b/src/bonsai/bonsai/bim/module/drawing/prop.py @@ -425,7 +425,7 @@ class BIMCameraProperties(PropertyGroup): custom_scale_denominator: bpy.props.StringProperty(default="100", update=update_diagram_scale) raster_x: IntProperty(name="Raster X", default=1000) raster_y: IntProperty(name="Raster Y", default=1000) - dpi: IntProperty(name="DPI", default=75) + dpi: IntProperty(name="DPI", default=) width: FloatProperty(name="Width", default=50, subtype="DISTANCE") height: FloatProperty(name="Height", default=50, subtype="DISTANCE") is_nts: BoolProperty(name="Is NTS", update=update_is_nts) diff --git a/src/bonsai/bonsai/bim/module/project/ui.py b/src/bonsai/bonsai/bim/module/project/ui.py index ef41dd598e..1b476ba1e4 100644 --- a/src/bonsai/bonsai/bim/module/project/ui.py +++ b/src/bonsai/bonsai/bim/module/project/ui.py @@ -132,7 +132,7 @@ class BIM_PT_project(Panel): row = box.row(align=True) row.label(text="Your Model May Be Outdated", icon="ERROR") op = row.operator("bim.open_uri", text="", icon="QUESTION") - op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#saving-and-loading-blend-files" + op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#saving-and-loading-blend-files" row.operator("bim.close_blend_warning", text="", icon="CANCEL") if props.ifc_file: diff --git a/src/bonsai/bonsai/bim/ui.py b/src/bonsai/bonsai/bim/ui.py index 9a07b4d9df..6c988dbfad 100644 --- a/src/bonsai/bonsai/bim/ui.py +++ b/src/bonsai/bonsai/bim/ui.py @@ -444,7 +444,7 @@ class BIM_PT_tabs(Panel): box.label(text="View the console for full logs.", icon="CONSOLE") box.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard") op = box.operator("bim.open_uri", text="How Can I Fix This?") - op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html" + op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html" if not tool.Ifc.get(): return @@ -456,7 +456,7 @@ class BIM_PT_tabs(Panel): row = box.row(align=True) row.label(text="Your model may be outdated", icon="ERROR") op = row.operator("bim.open_uri", text="", icon="QUESTION") - op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#saving-and-loading-blend-files" + op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#saving-and-loading-blend-files" row.operator("bim.close_blend_warning", text="", icon="CANCEL") if context.mode != context.scene.BIMGeometryProperties.mode: @@ -465,7 +465,7 @@ class BIM_PT_tabs(Panel): row = box.row(align=True) row.label(text="Geometry changes will be lost", icon="ERROR") op = row.operator("bim.open_uri", text="", icon="QUESTION") - op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#incompatible-blender-features" + op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#incompatible-blender-features" if (o := context.active_object) and [round(x, 4) for x in list(o.matrix_world.to_scale())] != [1, 1, 1]: box = self.layout.box() @@ -473,7 +473,7 @@ class BIM_PT_tabs(Panel): row = box.row(align=True) row.label(text="Object scaling will be lost", icon="ERROR") op = row.operator("bim.open_uri", text="", icon="QUESTION") - op.uri = "https://docs.bonsaibim.org/users/troubleshooting.html#incompatible-blender-features" + op.uri = "https://docs.bonsaibim.org/guides/troubleshooting.html#incompatible-blender-features" def draw_tab_entry(self, row, icon, tab_name, enabled=True, highlight=False): tab_entry = row.row(align=True) diff --git a/src/ifcopenshell-python/docs/ifccsv.rst b/src/ifcopenshell-python/docs/ifccsv.rst index c3f3666c19..536c564469 100644 --- a/src/ifcopenshell-python/docs/ifccsv.rst +++ b/src/ifcopenshell-python/docs/ifccsv.rst @@ -68,7 +68,7 @@ interface to access the IfcOpenShell utilities. 1. Install Bonsai by following the `Bonsai installation documentation - `_. + `_. 2. Launch Blender. Change to the **Scene Properties** tab in the **Properties Panel**. Scroll down to the **IFC Collaboration > IFC CSV Import / Export** diff --git a/src/ifcopenshell-python/docs/ifcopenshell-python/installation.rst b/src/ifcopenshell-python/docs/ifcopenshell-python/installation.rst index 0a7565d258..80901ddb20 100644 --- a/src/ifcopenshell-python/docs/ifcopenshell-python/installation.rst +++ b/src/ifcopenshell-python/docs/ifcopenshell-python/installation.rst @@ -195,7 +195,7 @@ The BlenderBIM Add-on is available either as a stable build or a daily build. 1. Install the BlenderBIM Add-on by following the `BlenderBIM Add-on installation documentation - `_. + `_. 2. Launch Blender. On the top left of the Viewport panel, click the **Editor Type** icon to change the viewport into a **Python Console**. @@ -229,7 +229,7 @@ and run your script using the **Text > Run Script** menu or by clicking on the Blender. This can help when learning how to write scripts as you can double check the results of your scripts with what you see in the graphical interface. `Read more - `_. + `_. From source with precompiled binaries ------------------------------------- diff --git a/src/ifcopenshell-python/ifcopenshell/api/georeference/edit_georeferencing.py b/src/ifcopenshell-python/ifcopenshell/api/georeference/edit_georeferencing.py index 3fbb4dd7f0..bce415d55b 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/georeference/edit_georeferencing.py +++ b/src/ifcopenshell-python/ifcopenshell/api/georeference/edit_georeferencing.py @@ -33,7 +33,7 @@ def edit_georeferencing( surveyor, and a third-party digital engineer with expertise in IFC to moderate. For more information, read the Bonsai documentation for Georeferencing: - https://docs.bonsaibim.org/users/advanced/georeferencing.html + https://docs.bonsaibim.org/guides/advanced/georeferencing.html For more information about the attributes and data types of an IfcCoordinateOperation, consult the IFC documentation.