{{ message }}

Instantly share code, notes, and snippets.

# Carsten Arnholmarnholm

Created Aug 22, 2019
View funcdef.md
```// AngelCAD code, showing use of function pointer

funcdef double CALLBACK(int i);

solid@ object(CALLBACK@ f,int i)
{
return sphere(f(i));
}```
Last active Mar 2, 2020
A collection of links with possible evidence of ancient technology world wide
View megaliths.md

# Introduction

This page serves as a scratchpad for links to web pages and videos documenting megaliths (mega=big lith=stone). I became interested in the topic of ancient high technology early in 2018 and started to collect links.

I would initially not have believed that there are so many locations all over the world showing structures with very high precision and extremely heavy stones, but the list is just growing day by day. This page attempts to document some of this by linking to the pages and videos available on the topic.

Before starting the "journey", it is worth mentioning some of the top sources of information (although there are many others). First, the YouTube channel of Brien Foerster is worth mentioning. Brien Foerster lives in Peru and introduced me (via his videos) to the many fantastic sites in Peru and Bolivia. A natural starting point below will therefore be Peru and Bolivia. The second source of information is the YouTube channel of [An

Last active Aug 16, 2019
csg_wikipedia - Constructive Solid Geometry
View csg_wikipedia.md
```// AngelCAD code sample: csg_wikipedia.as
// https://en.wikipedia.org/wiki/Constructive_solid_geometry

shape@ main_shape()
{
// intersection of cube and sphere
cube@       cu = cube(size:45,center:true);
sphere@     sp = sphere(r:30);```
Last active Jul 16, 2019
View bracelet_1.md
Last active Jun 17, 2019

Generate a polygon witn N sides, from an array of positions

```// AngelCAD code: openscad_polygon.as
shape@ main_shape()
{
// build an array from np points
array<pos2d@> p;```
Last active Jun 11, 2019
View boundingbox1.md

In this example we read an external model of unknown dimensions and use bounding box to center it on the origin. AngelCAD requires a quality checked model in OBJ,OFF or AMF format, so we use the polyfix utility to first convert from STL to OBJ and heal the model at the same time.

polyfix Hook.stl -out=*.obj

Last active May 25, 2019
View melting.md
Last active Apr 30, 2019
Demonstration of text fonts in AngelCAD library 'aclib'
View aclib_sign_generator.md
```// AngelCAD code: aclib_sign_generator.as
//
// This sample requires the https://github.com/arnholm/aclib
// library to be installed in the AngelCAD libraries folder.

// select the font to use from one of the available
#include "aclib/fonts/LiberationSerif_Bold.as"

shape@ main_shape()```
Last active Apr 27, 2019
View a_manyballs_test.md

## This is the manyballs performance test using 5x5x5 balls

```13697 > "as_csg"  "manyballs_angelcad.as" -outsub="xcsg" -include="~/.angelcad/libraries"
as_csg started.

as_csg v1.3-00 finished, time used: 0d 00h 00m 00.012s
```
Last active Apr 26, 2019
View pyramid_round.md
```// AngelCAD code:  pyramid_round.as
pos3d@ p(double x, double y, double z) { return pos3d(x,y,z);}

shape@ main_shape()
{
// pyramid dimensions
double x = 50;
double y = 50;
double z = 50;```
You can’t perform that action at this time.