updated links in docs

This commit is contained in:
Ryan Schultz
2024-09-03 13:18:55 -05:00
parent eb7411b310
commit 290c08d6d5
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ if IN_BLENDER:
layout.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard") 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 = 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") layout.label(text="Try Reinstalling:", icon="IMPORT")
op = layout.operator("bim.open_uri", text="Re-download Add-on") op = layout.operator("bim.open_uri", text="Re-download Add-on")
+1 -1
View File
@@ -425,7 +425,7 @@ class BIMCameraProperties(PropertyGroup):
custom_scale_denominator: bpy.props.StringProperty(default="100", update=update_diagram_scale) custom_scale_denominator: bpy.props.StringProperty(default="100", update=update_diagram_scale)
raster_x: IntProperty(name="Raster X", default=1000) raster_x: IntProperty(name="Raster X", default=1000)
raster_y: IntProperty(name="Raster Y", 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") width: FloatProperty(name="Width", default=50, subtype="DISTANCE")
height: FloatProperty(name="Height", default=50, subtype="DISTANCE") height: FloatProperty(name="Height", default=50, subtype="DISTANCE")
is_nts: BoolProperty(name="Is NTS", update=update_is_nts) is_nts: BoolProperty(name="Is NTS", update=update_is_nts)
+1 -1
View File
@@ -132,7 +132,7 @@ class BIM_PT_project(Panel):
row = box.row(align=True) row = box.row(align=True)
row.label(text="Your Model May Be Outdated", icon="ERROR") row.label(text="Your Model May Be Outdated", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION") 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") row.operator("bim.close_blend_warning", text="", icon="CANCEL")
if props.ifc_file: if props.ifc_file:
+4 -4
View File
@@ -444,7 +444,7 @@ class BIM_PT_tabs(Panel):
box.label(text="View the console for full logs.", icon="CONSOLE") box.label(text="View the console for full logs.", icon="CONSOLE")
box.operator("bim.copy_debug_information", text="Copy Error Message To Clipboard") 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 = 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(): if not tool.Ifc.get():
return return
@@ -456,7 +456,7 @@ class BIM_PT_tabs(Panel):
row = box.row(align=True) row = box.row(align=True)
row.label(text="Your model may be outdated", icon="ERROR") row.label(text="Your model may be outdated", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION") 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") row.operator("bim.close_blend_warning", text="", icon="CANCEL")
if context.mode != context.scene.BIMGeometryProperties.mode: if context.mode != context.scene.BIMGeometryProperties.mode:
@@ -465,7 +465,7 @@ class BIM_PT_tabs(Panel):
row = box.row(align=True) row = box.row(align=True)
row.label(text="Geometry changes will be lost", icon="ERROR") row.label(text="Geometry changes will be lost", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION") 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]: 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() box = self.layout.box()
@@ -473,7 +473,7 @@ class BIM_PT_tabs(Panel):
row = box.row(align=True) row = box.row(align=True)
row.label(text="Object scaling will be lost", icon="ERROR") row.label(text="Object scaling will be lost", icon="ERROR")
op = row.operator("bim.open_uri", text="", icon="QUESTION") 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): def draw_tab_entry(self, row, icon, tab_name, enabled=True, highlight=False):
tab_entry = row.row(align=True) tab_entry = row.row(align=True)
+1 -1
View File
@@ -68,7 +68,7 @@ interface to access the IfcOpenShell utilities.
1. Install Bonsai by following the `Bonsai 1. Install Bonsai by following the `Bonsai
installation documentation installation documentation
<https://docs.bonsaibim.org/users/installation.html>`_. <https://docs.bonsaibim.org/guides/installation.html>`_.
2. Launch Blender. Change to the **Scene Properties** tab in the **Properties 2. Launch Blender. Change to the **Scene Properties** tab in the **Properties
Panel**. Scroll down to the **IFC Collaboration > IFC CSV Import / Export** Panel**. Scroll down to the **IFC Collaboration > IFC CSV Import / Export**
@@ -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 1. Install the BlenderBIM Add-on by following the `BlenderBIM Add-on
installation documentation installation documentation
<https://docs.bonsaibim.org/users/installation.html>`_. <https://docs.bonsaibim.org/guides/installation.html>`_.
2. Launch Blender. On the top left of the Viewport panel, click the **Editor 2. Launch Blender. On the top left of the Viewport panel, click the **Editor
Type** icon to change the viewport into a **Python Console**. 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 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 check the results of your scripts with what you see in the graphical
interface. `Read more interface. `Read more
<https://docs.bonsaibim.org/users/exploring_an_ifc_model.html>`_. <https://docs.bonsaibim.org/guides/exploring_an_ifc_model.html>`_.
From source with precompiled binaries From source with precompiled binaries
------------------------------------- -------------------------------------
@@ -33,7 +33,7 @@ def edit_georeferencing(
surveyor, and a third-party digital engineer with expertise in IFC to surveyor, and a third-party digital engineer with expertise in IFC to
moderate. For more information, read the Bonsai documentation moderate. For more information, read the Bonsai documentation
for Georeferencing: 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 For more information about the attributes and data types of an
IfcCoordinateOperation, consult the IFC documentation. IfcCoordinateOperation, consult the IFC documentation.