Uncategorized

Wednesday, March 19th, 2025

OBJ to Blender

This Blender add-on is a fork I modified from the original “Import Wavefront (.obj)” which ships with the official Blender release.

The motivation for the creation of this modification is the maintenance of materials upon importing new geometry. A common workflow in architecture visualization is the iterative import of exported models from other software, such as Archicad or Revit. When importing a new OBJ, blender also imports its materials and adds .001 to the new materials in order to avoid replacing the already existing ones in the .blend file. This add-on does not import already existing materials, it applies the existing ones to the newly imported geometry.

Adding to the above main functionality, other automatic procedures have been added, out of which the total list follows:

  • Avoid duplicating materials
  • Automatic OBJ orientation
  • Imported geometry goes into a collection named “Imported OBJ”
  • Normals are corrected, generating flat shading
  • Mesh is split by materials
  • Each new mesh is renamed with its material name
  • A limited dissolve gets rid of triangulation edges in wireframe views

To install the add-on:

  1. Download the io_scene_obj_022.zip file
  2. Do NOT open or extract it.
  3. In Blender go to Edit, Preferences, Add-ons
  4. In the top-right, click the drop-down arrow and choose “Install from Disk…”
  5. Choose the downloaded io_scene_obj.zip file and “Install from Disk”

Usage:

  • File, Import, Wavefront (.obj) – replace materials
  • Choose the desired .obj file
  • Happy blending!

Sunday, March 16th, 2025

Research Grant – STBIM

The Faculty of Architecture of the University of Porto (FAUP) opens a call for 1 (one) Research Grant (BI), within the scope of the project “Stereotomic BIM – Exploring sustainable design and construction in structural stone” (Ref. 2023.15500.PEX), funded by FCT, I.P. – Foundation for Science and Technology, I.P. through national funds, underway at the Faculty of Architecture of the University of Porto. Applications until 28th March 2025.

Follow this link: https://sigarra.up.pt/spup/en/noticias_geral.ver_noticia?p_nr=82589


Monday, January 30th, 2023

5 day temperature forecast

The AVG daytime is the temperature average from 7:00 to 20:00.


Friday, September 11th, 2020

map test

Here we go:

[tsmap user=orux]


Friday, April 6th, 2018

Rhino modelling using SketchUp push pull technique

A friend of mine who has been a long time SketchUp user has recently asked me how to do push pull in Rhino. Here is my take:

  1. Execute the command SplitFace
    1. If you want to split by a line, simply draw it (activate Near or other OSnap recommended)
    2. You have the option to split by an existing (previously drawn) curve
  2. Execute the command ExtrudeSrf
    1. You can now push or pull, depending if you extrude outwards on inwards
    2. If you want to replicate the SketchUp mass modelling behaviour, activate the options Solid and Delete Input

This post would look nicer with some images, I will add them if I have time. In the meanwhile, keep Rhinoing!


Saturday, March 31st, 2018

Colorize a GPS track according to its slope

I like to ride my bicycle, specially in mountains. Being able to understand quickly with a glance to the GPS screen what lies ahead is important, so I give you this strategy to colorize the track according to its degree of difficulty slope wise. Uphill is painted with hot colors and going down is read by cool colors.

  1. Go to the excellent GPS Visualizer website, “Make a Map – Google Earth” option.
  2. In the General map parameters tab, set “Add DEM elevation data:” to “best available source”
  3. In the Track options tab, click “show advanced track options [+]”
  4. “Colorize by:” -> “Slope”
  5. “Custom spectrum file (URL):” -> I suggest using a gradient created by me, but you can use whichever. Paste this “https://pedroazambujavarela.net/imgs/gradient06.png”
  6. In the Upload your GPS data files here tab, choose your GPS track file
  7. Finally, click Create KML here, and click the presented file to download it.

Example:

Screen Shot 2018-03-31 at 13.16.40




All content © Copyright 2025 by Pedro de Azambuja Varela.
Subscribe to RSS Feed