Skip to content

Instantly share code, notes, and snippets.

View Alliages's full-sized avatar

G.Meunier Alliages

View GitHub Profile
@Alliages
Alliages / select_by_surface.rvb
Created April 19, 2017 21:34
Rhinoscript that select objects according to their area
Option Explicit
'Script written by Guillaume Meunier
'Script copyrighted by Guillaume Meunier
'Script version Tuesday, 11 April 2017 17:10:45
'Select all surfaces inferior to xx
'If selection select inside selection
'Everything must be exploded
Call Main()
@Alliages
Alliages / planarization.rvb
Created April 19, 2017 21:30
Rhinoscript Planarization of surfaces
Option Explicit
'Script written by Guillaume Meunier
'Script copyrighted by Guillaume Meunier
'Script version Wednesday, April 12, 2017 1:14:09 PM
'try to Planarize objects
Call Main()
Sub Main()
Dim nSurf, arr, strSurf, count, arrObjects, strCurve, num_Type, res
@Alliages
Alliages / utm.py
Created April 29, 2016 11:49
Convert a (latitude, longitude) tuple into an UTM coordinate
"""
Authors
Bart van Andel <[email protected]>
Tobias Bieniek <[email protected]>
Torstein I. Bø
License
Copyright (C) 2012 Tobias Bieniek <[email protected]>
@Alliages
Alliages / elevation.py
Created April 28, 2016 12:44
A very simple python script that get elevation from latitude and longitude with google maps API
#
# elevation: A very simple python script that get elevation from latitude and longitude with google maps API by Guillaume Meunier
#
# -----------------------------------
# NO DEPENDANCIES except JSON and URLLIB
# -----------------------------------
#
# Copyright (c) 2016, Guillaume Meunier <[email protected]>
# GEOJSON_export is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
@Alliages
Alliages / Github_check.py
Created December 3, 2015 21:44
Github_check python script for Grasshopper : a component that request github server to get the last commit's comment for a specific file
#
# Github_check : a component that request github server to get the last commit's comment for a specific file
#
# This file is part Elioth toolbox
#
# Copyright (c) 2015, Guillaume Meunier <[email protected]>
# Github_check is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published
# by the Free Software Foundation; either version 3 of the License,
# or (at your option) any later version.
@Alliages
Alliages / GEOJSON_export.py
Last active April 28, 2021 04:56
GEOJSON_export python script for Grasshopper : A Plugin that export surfaces and its attributes to a GEOJSON file
#
# GEOJSON_export: A Plugin that export surfaces and its attributes to a GEOJSON file by Guillaume Meunier
#
# -----------------------------------
# Need pygeoj.py It must be in your script's folder
# by Karim Bahgat https://github.com/karimbahgat
# -----------------------------------
# TODO :
# use something like : https://github.com/karimbahgat/PyCRS
# -----------------------------------