Skip to main content

Python Script for Homographies in Rhinoceros

  • Conference paper
  • First Online:
Graphic Horizons (EGA 2024)

Part of the book series: Springer Series in Design and Innovation ((SSDI,volume 43))

Included in the following conference series:

  • 83 Accesses

Abstract

This work presents a Python script that allows generating homographies in the Rhinoceros 3D CAD software. The script generates a plane figure that is a homography of another plane figure selected by the user. To do this, eight points are used as input: four in the source figure and four in the homographic figure. The interest of the script lies in the fact that the user can obtain the homographic figure without knowing the homographic relationship between both figures, that is, without knowing the relative positions between the projection point, the source figure, and the homographic figure.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 279.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Bonet-Minguet, E.: Perspectiva cónica. Quiles Artes Gráficas, Valencia ([1968] 1985)

    Google Scholar 

  2. Izquierdo-Asensi, F.: Geometría descriptiva I (sistemas y perspectivas). Izquierdo Ruiz de la Peña, F. J. (ed), Madrid ([1969] 2008)

    Google Scholar 

  3. Cabanes-Ginés, J.L.: Rectificación fotogramétrica de objetos planos por métodos gráficos basados en principios proyectivos. Universitat Politècnica de València (2004)

    Google Scholar 

  4. Martínez-Moya, J.Á., Soler-Estrela, A.: Metodología de recuperación gráfica de las portadas del Palacio Condal de Oliva. EGE Revista de Expresión Gráfica en la Edificación 8, 35–43 (2014). https://doi.org/10.4995/ege.2014.12481

    Article  Google Scholar 

  5. Natividad-Vivó, P., García-Baño, R., Calvo-López, J.: Ejercicios de Geometría Gráfica. Vol. I. Universidad Politécnica de Cartagena (2014). http://hdl.handle.net/10317/11335

  6. Villar-Martín, D.: La Torre Nueva de Zaragoza. Documentación gráfica. Universidad Politécnica de Madrid (2017). https://oa.upm.es/47549/

  7. Ramón-Constantí, A., Gómez-Gil, A.: La restitución perspectiva a partir de una imagen fotográfica. El palacio de Jura Real de Valencia. EGA Revista de Expresión Gráfica Arquitectónica 25(40), 146–155. https://doi.org/10.4995/ega.2020.12318

  8. Blanch-Jover, C.: Restitución geométrica de perspectiva. Estudio analítico de una perspectiva cónica. Universitat Politècnica de Catalunya (2022). http://hdl.handle.net/2117/362284

  9. Cabanes-Ginés, J.L.: Hybrid 2D/3D models for photo-based animations of virtual urban scenes. The Plaza de la Virgen of Valencia, in the 1870s. In: Arquitectural Graphics, vol. 1, pp. 168–177. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-04632-2_18

  10. Herrero-Pérez, B., Baviera-Llopez, E., Llopis-Verdú, J.: Digital tools as a means of architectural dissemination. Reconstructing the architectural history of Colegio San José of Valencia. In: Arquitectural Graphics, vol. 2, pp. 33–42. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-04703-9_4

  11. Agnello, F., Milone, M., Barrale, L.: From Image to Investigation 3D Reconstruction with Perspective Restitution. In: Arquitectural Graphics, vol. 2, pp. 83–92. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-04703-9_9

  12. López-Mozo, A.: Apuntes de restitución perspectiva (asignatura Geometría y Dibujo de Arquitectura 1). Escuela de Arquitectura, Universidad Politécnica de Madrid. https://www.academia.edu/35903794/Apuntes_de_Restituci%C3%B3n_Perspectiva_Asignatura_Geometr%C3%ADa_y_Dibujo_de_Arquitectura_1_Escuela_de_Arquitectura_Universidad_Polit%C3%A9cnica_de_Madrid

  13. Maestre-López-Salazar, R., Irles-Mas, F.: Levantamiento de planos de fachadas a partir de una fotografía. Perspectivas. Homograf 1. Aplicación infográfica para AutoCAD 14. Universidad de Alicante (2000)

    Google Scholar 

  14. Irles-Mas, F., Jiménez-Gómez, L.M., Oliva-Meyer, M.Á., Velasco-Gómez, E.: Homograf, un programa para la resolución de homografías 2D en AutoCAD v.2002. Revista iberoamericana de ingeniería mecánica 9(2), 3–12 (2005). https://arvc.umh.es/documentos/articulos/cibem03.pdf

  15. Irles-Mas, F.: Transformaciones homográficas de modelos tridimensionales. Análisis proyectivo para el desarrollo de una aplicación infográfica. Universidad de Alicante (2009). http://dspace.umh.es/handle/11000/1751

  16. Rhino developer API references. https://developer.rhino3d.com/api

  17. Heckbert, P.S.: Fundamentals of Texture Mapping and Image Warping. University of California (1989). http://www2.eecs.berkeley.edu/Pubs/TechRpts/1989/CSD-89-516.pdf

  18. Heckbert, P.S.: Projective Mappings for Image Warping. Excerpted from pp. 17–21 of [17] (1999). http://graphics.cs.cmu.edu/courses/15-463/2006_fall/www/Papers/proj.pdf

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pau Natividad-Vivó .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Natividad-Vivó, P. (2024). Python Script for Homographies in Rhinoceros. In: Hermida González, L., Xavier, J.P., Amado Lorenzo, A., Fernández-Álvarez, Á.J. (eds) Graphic Horizons. EGA 2024. Springer Series in Design and Innovation , vol 43. Springer, Cham. https://doi.org/10.1007/978-3-031-57575-4_46

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-57575-4_46

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-57574-7

  • Online ISBN: 978-3-031-57575-4

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics